Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01163/0.01163, allocations: 101.6 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002044/0.002044, allocations: 194.9 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.209/2.209, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.243/1.243, allocations: 132.2 MB / 422.7 MB, free: 1.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001609, allocations: 64.28 kB / 0.5809 GB, free: 1.082 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.253, allocations: 80.21 MB / 0.6592 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 1.119/1.372, allocations: 161.3 MB / 0.8168 GB, free: 3.367 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01158/1.384, allocations: 4.551 MB / 0.8212 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008572/1.385, allocations: 13.5 kB / 0.8212 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0008572/1.386, allocations: 124.7 kB / 0.8213 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002227/1.388, allocations: 334.6 kB / 0.8217 GB, free: 3.301 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001863/1.39, allocations: 271.3 kB / 0.8219 GB, free: 3.297 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002043/1.392, allocations: 0.5654 MB / 0.8225 GB, free: 3.289 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001/1.393, allocations: 205.6 kB / 0.8227 GB, free: 3.281 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002655/1.396, allocations: 462.5 kB / 0.8231 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008958/1.397, allocations: 189.2 kB / 0.8233 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001556/1.397, allocations: 17.41 kB / 0.8233 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006486/1.397, allocations: 80.22 kB / 0.8234 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003563/1.398, allocations: 88.03 kB / 0.8235 GB, free: 3.27 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005744/1.398, allocations: 119.6 kB / 0.8236 GB, free: 3.27 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001371/1.4, allocations: 310.8 kB / 0.8239 GB, free: 3.25 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.187e-05/1.4, allocations: 1.188 kB / 0.8239 GB, free: 3.25 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.607e-06/1.4, allocations: 1.312 kB / 0.8239 GB, free: 3.25 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.636e-05/1.4, allocations: 0.8438 kB / 0.8239 GB, free: 3.25 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001903/1.402, allocations: 0.5337 MB / 0.8244 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 7.255e-05/1.402, allocations: 11.05 kB / 0.8244 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001182/1.402, allocations: 50.48 kB / 0.8245 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/1.402, allocations: 26.55 kB / 0.8245 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007482/1.403, allocations: 288.9 kB / 0.8248 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/1.403, allocations: 16.45 kB / 0.8248 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.147e-05/1.403, allocations: 20.62 kB / 0.8248 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000719/1.404, allocations: 259.4 kB / 0.825 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/1.404, allocations: 0 / 0.825 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.186e-05/1.404, allocations: 7.031 kB / 0.825 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/1.404, allocations: 6.094 kB / 0.8251 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005931/1.405, allocations: 156.5 kB / 0.8252 GB, free: 2.43 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002551/1.407, allocations: 1.364 MB / 0.8265 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005194/1.408, allocations: 182.4 kB / 0.8267 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003235/1.408, allocations: 90.75 kB / 0.8268 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006122/1.409, allocations: 125.2 kB / 0.8269 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.535e-05/1.409, allocations: 36.42 kB / 0.827 GB, free: 1.039 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=10): time 3.997e-06/1.409, allocations: 0.9062 kB / 0.827 GB, free: 1.039 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10): time 0.001419/1.41, allocations: 209.2 kB / 0.8272 GB, free: 17 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001924/1.41, allocations: 184.5 kB / 0.8273 GB, free: 16.78 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008414/1.411, allocations: 297.1 kB / 0.8276 GB, free: 16.67 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.053e-05/1.411, allocations: 31.7 kB / 0.8276 GB, free: 16.64 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002425/1.412, allocations: 143.2 kB / 0.8278 GB, free: 16.55 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.649e-05/1.412, allocations: 39.25 kB / 0.8278 GB, free: 16.52 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/1.412, allocations: 35.84 kB / 0.8278 GB, free: 16.51 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000234/1.412, allocations: 336.3 kB / 0.8282 GB, free: 16.2 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002509/1.412, allocations: 45.3 kB / 0.8282 GB, free: 16.2 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003708/1.413, allocations: 124.9 kB / 0.8283 GB, free: 16.12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005115/1.413, allocations: 153.2 kB / 0.8285 GB, free: 16.06 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/1.413, allocations: 1.438 kB / 0.8285 GB, free: 16.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007592/1.414, allocations: 191 kB / 0.8287 GB, free: 16.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.73e-05/1.414, allocations: 6.172 kB / 0.8287 GB, free: 16.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/1.414, allocations: 5.719 kB / 0.8287 GB, free: 16.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.719e-05/1.414, allocations: 2.141 kB / 0.8287 GB, free: 16.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/1.414, allocations: 33.75 kB / 0.8287 GB, free: 16.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.591e-05/1.415, allocations: 9.891 kB / 0.8287 GB, free: 16.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000417/1.415, allocations: 27.5 kB / 0.8287 GB, free: 16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.946e-05/1.415, allocations: 13.95 kB / 0.8288 GB, free: 16 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003702/1.415, allocations: 148.7 kB / 0.8289 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002944/1.416, allocations: 23.84 kB / 0.8289 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008068/1.417, allocations: 131.7 kB / 0.829 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/1.417, allocations: 2.094 kB / 0.829 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-05/1.417, allocations: 7.594 kB / 0.8291 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/1.417, allocations: 1.906 kB / 0.8291 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/1.419, allocations: 0.7745 MB / 0.8298 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/1.419, allocations: 1.062 kB / 0.8298 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/1.419, allocations: 25.53 kB / 0.8298 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.619e-05/1.419, allocations: 3.547 kB / 0.8298 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/1.419, allocations: 7.344 kB / 0.8298 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/1.419, allocations: 4.734 kB / 0.8299 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/1.419, allocations: 1.156 kB / 0.8299 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009422/1.42, allocations: 343.9 kB / 0.8302 GB, free: 15 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002466/1.42, allocations: 109 kB / 0.8303 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.932e-05/1.42, allocations: 6.797 kB / 0.8303 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000263/1.42, allocations: 8.938 kB / 0.8303 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.691e-05/1.421, allocations: 11.73 kB / 0.8303 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/1.421, allocations: 6.312 kB / 0.8303 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004785/1.421, allocations: 209.1 kB / 0.8305 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.01e-07/1.421, allocations: 1.062 kB / 0.8305 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008116/1.422, allocations: 58.09 kB / 0.8306 GB, free: 14.8 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00205/1.424, allocations: 0.9053 MB / 0.8315 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007594/1.425, allocations: 120.6 kB / 0.8316 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.425, allocations: 1.203 kB / 0.8316 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002892/1.425, allocations: 65.44 kB / 0.8316 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/1.427, allocations: 131.3 kB / 0.8318 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006895/1.434, allocations: 2.601 MB / 0.8343 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008409/1.435, allocations: 0.7605 MB / 0.835 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004169/1.435, allocations: 54.61 kB / 0.8351 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/1.435, allocations: 65.75 kB / 0.8352 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of SimCode: time 2.024e-06/1.435, allocations: 0.8438 kB / 0.8352 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05885/1.494, allocations: 6.965 MB / 0.842 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/14.17, allocations: 2.906 kB / 0.842 GB, free: 11.32 MB / 0.6544 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)