Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.649/2.649, allocations: 284.9 MB / 292.4 MB, free: 10.6 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002213/0.002213, allocations: 184.9 kB / 360.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.312/2.312, allocations: 205.2 MB / 0.6191 GB, free: 12.19 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001481/0.001482, allocations: 103.7 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.684e-05/3.686e-05, allocations: 8 kB / 0.8509 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.03, allocations: 115.3 MB / 0.9634 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.235/1.265, allocations: 136.6 MB / 1.097 GB, free: 3.871 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/1.265, allocations: 76.47 kB / 1.097 GB, free: 3.801 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005567/1.271, allocations: 1.267 MB / 1.098 GB, free: 2.562 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.433e-06/1.271, allocations: 0 / 1.098 GB, free: 2.562 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.56e-06/1.271, allocations: 0 / 1.098 GB, free: 2.562 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003204/1.271, allocations: 328.4 kB / 1.098 GB, free: 2.199 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/1.271, allocations: 12.03 kB / 1.098 GB, free: 2.188 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/1.271, allocations: 1.203 kB / 1.098 GB, free: 2.188 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/1.271, allocations: 163 kB / 1.099 GB, free: 1.988 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/1.271, allocations: 4.734 kB / 1.099 GB, free: 1.984 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-06/1.271, allocations: 3.938 kB / 1.099 GB, free: 1.98 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.934e-05/1.271, allocations: 0.6875 kB / 1.099 GB, free: 1.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.298e-05/1.271, allocations: 33.16 kB / 1.099 GB, free: 1.945 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/1.271, allocations: 2.344 kB / 1.099 GB, free: 1.945 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/1.271, allocations: 0.6562 kB / 1.099 GB, free: 1.945 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/1.271, allocations: 0.5938 kB / 1.099 GB, free: 1.945 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/1.272, allocations: 130.9 kB / 1.099 GB, free: 1.781 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.33e-05/1.272, allocations: 19.14 kB / 1.099 GB, free: 1.754 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.909e-05/1.272, allocations: 5.547 kB / 1.099 GB, free: 1.746 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009615/1.273, allocations: 451.6 kB / 1.099 GB, free: 1.215 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/1.273, allocations: 35.12 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 2.945e-06/1.273, allocations: 0.6875 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001891/1.273, allocations: 30.23 kB / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/1.273, allocations: 52.03 kB / 1.099 GB, free: 1.074 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.759e-05/1.273, allocations: 86 kB / 1.099 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/1.273, allocations: 25.7 kB / 1.099 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.855e-05/1.273, allocations: 83.55 kB / 1.099 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/1.273, allocations: 3.906 kB / 1.099 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/1.273, allocations: 4.625 kB / 1.099 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001416/1.273, allocations: 315.4 kB / 1.1 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.443e-05/1.273, allocations: 4.5 kB / 1.1 GB, free: 0.543 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.007e-05/1.273, allocations: 0.875 kB / 1.1 GB, free: 0.543 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.938e-05/1.273, allocations: 3.984 kB / 1.1 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/1.273, allocations: 1.781 kB / 1.1 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.188e-05/1.274, allocations: 41.59 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/1.274, allocations: 4 kB / 1.1 GB, free: 500 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/1.274, allocations: 0 / 1.1 GB, free: 500 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/1.274, allocations: 5.094 kB / 1.1 GB, free: 500 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.072e-05/1.274, allocations: 6.25 kB / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/1.274, allocations: 2.734 kB / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.461e-05/1.274, allocations: 0 / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/1.274, allocations: 0 / 1.1 GB, free: 496 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.504e-05/1.274, allocations: 108.8 kB / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.123e-05/1.274, allocations: 37.22 kB / 1.1 GB, free: 340 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-06/1.274, allocations: 4 kB / 1.1 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/1.274, allocations: 37.39 kB / 1.1 GB, free: 292 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/1.274, allocations: 3.984 kB / 1.1 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.274, allocations: 0 / 1.1 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.274, allocations: 0 / 1.1 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/1.274, allocations: 126.2 kB / 1.1 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.274, allocations: 0 / 1.1 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.075e-05/1.274, allocations: 4 kB / 1.1 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/1.274, allocations: 10.45 kB / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/1.274, allocations: 0 / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/1.274, allocations: 0 / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/1.274, allocations: 0 / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/1.274, allocations: 57.12 kB / 1.1 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.797e-05/1.275, allocations: 77.11 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/1.275, allocations: 5.969 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.004e-05/1.275, allocations: 3.938 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.779e-05/1.275, allocations: 4.031 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/1.275, allocations: 0 / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.399e-05/1.275, allocations: 77.06 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.046e-06/1.275, allocations: 0 / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003239/1.275, allocations: 39.86 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006128/1.276, allocations: 0.6164 MB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.866e-05/1.276, allocations: 3.984 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.276, allocations: 7.938 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.146e-06/1.276, allocations: 0 / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001153/1.276, allocations: 10.72 kB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003286/1.276, allocations: 77.67 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/1.277, allocations: 0.6768 MB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.665e-05/1.277, allocations: 0 / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.092e-05/1.277, allocations: 7.438 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of SimCode: time 9.91e-07/1.277, allocations: 0 / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03663/1.313, allocations: 0.6444 MB / 1.102 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003385/1.314, allocations: 140.5 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.314/3.627, allocations: 0 / 1.103 GB, free: 13.53 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)