Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.EnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",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.004478/0.004478, allocations: 104.8 kB / 15.74 MB, free: 6.062 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.001234/0.001234, allocations: 194.7 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.195 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9222/0.9222, allocations: 135.5 MB / 426.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 71.88 kB / 0.5858 GB, free: 3.199 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3309, allocations: 81.02 MB / 0.6649 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1752/0.5062, allocations: 167.5 MB / 0.8285 GB, free: 8.746 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.007083/0.5133, allocations: 6.533 MB / 0.8349 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002387/0.5136, allocations: 11.94 kB / 0.8349 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004463/0.5141, allocations: 174.8 kB / 0.8351 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001678/0.5158, allocations: 0.8401 MB / 0.8359 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007525/0.5165, allocations: 331.7 kB / 0.8362 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007188/0.5173, allocations: 0.7174 MB / 0.8369 GB, free: 128 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003996/0.5177, allocations: 278.7 kB / 0.8372 GB, free: 15.86 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008882/0.5186, allocations: 0.5526 MB / 0.8377 GB, free: 15.3 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003464/0.5189, allocations: 271 kB / 0.838 GB, free: 15.04 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.519, allocations: 24 kB / 0.838 GB, free: 15.01 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005311/0.5195, allocations: 339.2 kB / 0.8383 GB, free: 14.68 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.5196, allocations: 111.6 kB / 0.8384 GB, free: 14.57 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.5198, allocations: 159.2 kB / 0.8386 GB, free: 14.41 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0005888/0.5204, allocations: 487 kB / 0.839 GB, free: 13.94 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.5204, allocations: 0 / 0.839 GB, free: 13.94 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5204, allocations: 0 / 0.839 GB, free: 13.94 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.5204, allocations: 0 / 0.839 GB, free: 13.94 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007941/0.5212, allocations: 0.6307 MB / 0.8396 GB, free: 13.26 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.5213, allocations: 11.97 kB / 0.8396 GB, free: 13.25 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.422e-05/0.5213, allocations: 66.55 kB / 0.8397 GB, free: 13.17 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000272/0.5216, allocations: 71.66 kB / 0.8398 GB, free: 13.1 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004335/0.5221, allocations: 321.4 kB / 0.8401 GB, free: 12.75 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.5221, allocations: 20.56 kB / 0.8401 GB, free: 12.73 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.5221, allocations: 28 kB / 0.8401 GB, free: 12.7 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005129/0.5227, allocations: 315.7 kB / 0.8404 GB, free: 12.37 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.5227, allocations: 4 kB / 0.8404 GB, free: 12.36 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.5227, allocations: 11.94 kB / 0.8405 GB, free: 12.35 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.5227, allocations: 12 kB / 0.8405 GB, free: 12.34 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004015/0.5231, allocations: 201.5 kB / 0.8407 GB, free: 12.14 MB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/0.5246, allocations: 1.527 MB / 0.8421 GB, free: 10.48 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.5248, allocations: 126.5 kB / 0.8423 GB, free: 10.35 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.525, allocations: 88.81 kB / 0.8424 GB, free: 10.26 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005434/0.5255, allocations: 299.2 kB / 0.8426 GB, free: 9.91 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.5256, allocations: 38.56 kB / 0.8427 GB, free: 9.863 MB / 0.67 GB Notification: Performance of pre-optimization done (n=13): time 1.223e-06/0.5256, allocations: 0 / 0.8427 GB, free: 9.863 MB / 0.67 GB Notification: Performance of matching and sorting (n=13): time 0.000693/0.5263, allocations: 269.6 kB / 0.8429 GB, free: 9.594 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.5263, allocations: 55.41 kB / 0.843 GB, free: 9.527 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.5267, allocations: 308.5 kB / 0.8433 GB, free: 9.219 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.5267, allocations: 37.64 kB / 0.8433 GB, free: 9.176 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.5268, allocations: 188.2 kB / 0.8435 GB, free: 8.988 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.5269, allocations: 47.56 kB / 0.8435 GB, free: 8.941 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-05/0.5269, allocations: 41.7 kB / 0.8436 GB, free: 8.895 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.5271, allocations: 338.8 kB / 0.8439 GB, free: 8.555 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.5272, allocations: 59.95 kB / 0.844 GB, free: 8.496 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.5274, allocations: 113.1 kB / 0.8441 GB, free: 8.367 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003156/0.5277, allocations: 173 kB / 0.8442 GB, free: 8.18 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.5278, allocations: 0 / 0.8442 GB, free: 8.18 MB / 0.67 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003991/0.5282, allocations: 217.3 kB / 0.8444 GB, free: 7.961 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.5282, allocations: 4 kB / 0.8444 GB, free: 7.957 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.5282, allocations: 7.984 kB / 0.8444 GB, free: 7.949 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.5282, allocations: 4.156 kB / 0.8445 GB, free: 7.945 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.5284, allocations: 35.92 kB / 0.8445 GB, free: 7.91 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.5284, allocations: 0 / 0.8445 GB, free: 7.91 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.5285, allocations: 31.83 kB / 0.8445 GB, free: 7.879 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.5286, allocations: 11.94 kB / 0.8445 GB, free: 7.867 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001307/0.5287, allocations: 153.6 kB / 0.8447 GB, free: 7.707 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/0.5288, allocations: 27.81 kB / 0.8447 GB, free: 7.68 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004205/0.5292, allocations: 215.5 kB / 0.8449 GB, free: 7.469 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.5292, allocations: 0 / 0.8449 GB, free: 7.469 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.5292, allocations: 4 kB / 0.8449 GB, free: 7.465 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.5292, allocations: 3.938 kB / 0.8449 GB, free: 7.461 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009459/0.5302, allocations: 0.6796 MB / 0.8456 GB, free: 6.703 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.5302, allocations: 0 / 0.8456 GB, free: 6.703 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.5303, allocations: 31.92 kB / 0.8456 GB, free: 6.672 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.5303, allocations: 0 / 0.8456 GB, free: 6.672 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.5303, allocations: 11.98 kB / 0.8456 GB, free: 6.66 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.5304, allocations: 4.219 kB / 0.8456 GB, free: 6.656 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.5304, allocations: 7.938 kB / 0.8456 GB, free: 6.648 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004348/0.5308, allocations: 333.3 kB / 0.8459 GB, free: 6.285 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.5309, allocations: 132.8 kB / 0.8461 GB, free: 6.137 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/0.531, allocations: 0 / 0.8461 GB, free: 6.137 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.5311, allocations: 15.98 kB / 0.8461 GB, free: 6.121 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.5312, allocations: 7.938 kB / 0.8461 GB, free: 6.113 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.5312, allocations: 16 kB / 0.8461 GB, free: 6.098 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002027/0.5314, allocations: 219 kB / 0.8463 GB, free: 5.887 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5314, allocations: 0 / 0.8463 GB, free: 5.887 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003386/0.5317, allocations: 75.89 kB / 0.8464 GB, free: 5.812 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0009215/0.5327, allocations: 0.9178 MB / 0.8473 GB, free: 4.855 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0003702/0.533, allocations: 160 kB / 0.8474 GB, free: 4.699 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.5331, allocations: 8.062 kB / 0.8475 GB, free: 4.691 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.5332, allocations: 87.77 kB / 0.8475 GB, free: 4.605 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007447/0.534, allocations: 153.1 kB / 0.8477 GB, free: 4.461 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/0.5372, allocations: 2.809 MB / 0.8504 GB, free: 1.504 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.5376, allocations: 0.7795 MB / 0.8512 GB, free: 0.6992 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001604/0.5377, allocations: 62.92 kB / 0.8512 GB, free: 0.6367 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.5379, allocations: 91.41 kB / 0.8513 GB, free: 0.5469 MB / 0.67 GB Notification: Performance of SimCode: time 2.31e-07/0.5379, allocations: 0 / 0.8513 GB, free: 0.5469 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.63/2.168, allocations: 8.116 MB / 0.8593 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.755/10.92, allocations: 15.25 kB / 0.8593 GB, free: 8.586 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)