Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",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.0009423/0.0009423, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009485/0.0009485, allocations: 193 kB / 16.13 MB, free: 6.656 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.155/1.155, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7941/0.7941, allocations: 135.1 MB / 425.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 71.48 kB / 0.5048 GB, free: 5.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.116, allocations: 80.92 MB / 0.5838 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.3302/0.4462, allocations: 167.2 MB / 0.7471 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006564/0.4528, allocations: 7.21 MB / 0.7541 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001985/0.453, allocations: 16.22 kB / 0.7541 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003775/0.4534, allocations: 128.9 kB / 0.7542 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001943/0.4554, allocations: 1.193 MB / 0.7554 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.4564, allocations: 0.574 MB / 0.756 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007094/0.4572, allocations: 1.049 MB / 0.757 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002988/0.4575, allocations: 249.8 kB / 0.7572 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007627/0.4582, allocations: 0.5293 MB / 0.7578 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005847/0.4588, allocations: 426.5 kB / 0.7582 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.024e-05/0.4589, allocations: 16 kB / 0.7582 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001737/0.4606, allocations: 1.477 MB / 0.7596 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.683e-05/0.4607, allocations: 103.7 kB / 0.7597 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.4609, allocations: 175.1 kB / 0.7599 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.4619, allocations: 0.9738 MB / 0.7608 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.4619, allocations: 8 kB / 0.7608 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of FrontEnd: time 6.81e-07/0.4619, allocations: 0 / 0.7608 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.462, allocations: 0 / 0.7608 GB, free: 8.098 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.000785/0.4627, allocations: 0.6973 MB / 0.7615 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.4628, allocations: 12.03 kB / 0.7615 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.593e-05/0.4628, allocations: 58.55 kB / 0.7616 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009373/0.4638, allocations: 131.3 kB / 0.7617 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000331/0.4641, allocations: 325.1 kB / 0.762 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.744e-05/0.4642, allocations: 54.27 kB / 0.7621 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.4642, allocations: 24 kB / 0.7621 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005777/0.4648, allocations: 366.2 kB / 0.7624 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4648, allocations: 3.938 kB / 0.7625 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.4649, allocations: 16 kB / 0.7625 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.4649, allocations: 11.94 kB / 0.7625 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004765/0.4654, allocations: 270 kB / 0.7627 GB, free: 6.035 MB / 0.5762 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.001506/0.4669, allocations: 1.5 MB / 0.7642 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003441/0.4672, allocations: 190.5 kB / 0.7644 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.4674, allocations: 120.8 kB / 0.7645 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008997/0.4684, allocations: 0.5014 MB / 0.765 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.4684, allocations: 30.56 kB / 0.765 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.4684, allocations: 0 / 0.765 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0008339/0.4692, allocations: 362 kB / 0.7654 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.4693, allocations: 51.41 kB / 0.7654 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.4695, allocations: 320.5 kB / 0.7657 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.4696, allocations: 33.7 kB / 0.7657 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.721e-05/0.4697, allocations: 184 kB / 0.7659 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.043e-05/0.4697, allocations: 47.36 kB / 0.766 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.31e-05/0.4698, allocations: 45.61 kB / 0.766 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.332e-05/0.4699, allocations: 346.7 kB / 0.7663 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.4701, allocations: 79.94 kB / 0.7664 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.4703, allocations: 149.9 kB / 0.7666 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000369/0.4707, allocations: 241.5 kB / 0.7668 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4707, allocations: 0 / 0.7668 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005192/0.4712, allocations: 282.5 kB / 0.7671 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.4712, allocations: 6.031 kB / 0.7671 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.4712, allocations: 4 kB / 0.7671 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.4712, allocations: 4 kB / 0.7671 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.4715, allocations: 43.91 kB / 0.7671 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.4715, allocations: 4 kB / 0.7671 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.4717, allocations: 39.78 kB / 0.7672 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/0.4717, allocations: 16 kB / 0.7672 GB, free: 1.156 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001297/0.4719, allocations: 153.7 kB / 0.7673 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.75e-05/0.472, allocations: 27.62 kB / 0.7673 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006423/0.4726, allocations: 314 kB / 0.7676 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.4726, allocations: 4 kB / 0.7677 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.4726, allocations: 0 / 0.7677 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.4726, allocations: 0 / 0.7677 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.4738, allocations: 0.816 MB / 0.7684 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4738, allocations: 3.938 kB / 0.7685 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.474, allocations: 35.97 kB / 0.7685 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.474, allocations: 11.88 kB / 0.7685 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.474, allocations: 8 kB / 0.7685 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.474, allocations: 0.75 kB / 0.7685 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.474, allocations: 4 kB / 0.7685 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005142/0.4745, allocations: 397.2 kB / 0.7689 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.4747, allocations: 140.6 kB / 0.769 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.4747, allocations: 4 kB / 0.769 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.475, allocations: 27.91 kB / 0.7691 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.475, allocations: 15.98 kB / 0.7691 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.475, allocations: 12 kB / 0.7691 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001783/0.4752, allocations: 227 kB / 0.7693 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4752, allocations: 0 / 0.7693 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004056/0.4756, allocations: 123.8 kB / 0.7694 GB, free: 14.72 MB / 0.5919 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 (16): * Single equations (assignments): 16 * 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.001087/0.4767, allocations: 1.067 MB / 0.7705 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004336/0.4772, allocations: 215.8 kB / 0.7707 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4772, allocations: 0 / 0.7707 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.4774, allocations: 116.5 kB / 0.7708 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007691/0.4782, allocations: 153 kB / 0.7709 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003307/0.4815, allocations: 3.145 MB / 0.774 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.4818, allocations: 0.7914 MB / 0.7748 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002674/0.482, allocations: 84.14 kB / 0.7748 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.4822, allocations: 103.3 kB / 0.7749 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.4822, allocations: 0 / 0.7749 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.167/4.649, allocations: 10.01 MB / 0.7847 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002315/4.649, allocations: 225.2 kB / 0.7849 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.907/7.556, allocations: 0 / 0.7849 GB, free: 14.81 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)