Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.EntropyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_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.00107/0.00107, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001148/0.001148, allocations: 191.6 kB / 16.14 MB, free: 6.707 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.333/1.333, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7581/0.7581, allocations: 132.2 MB / 422.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.75 kB / 0.5012 GB, free: 9.105 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1554, allocations: 80.2 MB / 0.5795 GB, free: 9.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4803/0.6357, allocations: 167.2 MB / 0.7428 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008269/0.644, allocations: 7.206 MB / 0.7498 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000558/0.6446, allocations: 11.72 kB / 0.7498 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005544/0.6452, allocations: 127.7 kB / 0.7499 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002994/0.6482, allocations: 1.191 MB / 0.7511 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001577/0.6498, allocations: 0.5791 MB / 0.7517 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00107/0.6509, allocations: 1.054 MB / 0.7527 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003625/0.6512, allocations: 248.6 kB / 0.7529 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.6523, allocations: 0.5257 MB / 0.7535 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007255/0.653, allocations: 426 kB / 0.7539 GB, free: 452 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.651e-05/0.6531, allocations: 22.31 kB / 0.7539 GB, free: 448 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002468/0.6556, allocations: 1.469 MB / 0.7553 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.6557, allocations: 111.7 kB / 0.7554 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.6559, allocations: 171.1 kB / 0.7556 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.6573, allocations: 0.9738 MB / 0.7565 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.6573, allocations: 4 kB / 0.7565 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6573, allocations: 0 / 0.7565 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.6573, allocations: 0 / 0.7565 GB, free: 14.02 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.000991/0.6583, allocations: 0.6972 MB / 0.7572 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.6583, allocations: 8.031 kB / 0.7572 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.087e-05/0.6584, allocations: 66.55 kB / 0.7573 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.6595, allocations: 131.3 kB / 0.7574 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004129/0.6599, allocations: 325.1 kB / 0.7577 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.295e-05/0.66, allocations: 50.27 kB / 0.7578 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.207e-05/0.66, allocations: 24 kB / 0.7578 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00067/0.6607, allocations: 374.1 kB / 0.7582 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.6607, allocations: 3.984 kB / 0.7582 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.6608, allocations: 12 kB / 0.7582 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.6608, allocations: 11.94 kB / 0.7582 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005218/0.6613, allocations: 274 kB / 0.7584 GB, free: 11.95 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.001783/0.6631, allocations: 1.484 MB / 0.7599 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003976/0.6635, allocations: 194.5 kB / 0.7601 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/0.6637, allocations: 119 kB / 0.7602 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/0.6648, allocations: 0.5053 MB / 0.7607 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.6648, allocations: 30.56 kB / 0.7607 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.6648, allocations: 4 kB / 0.7607 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0009343/0.6658, allocations: 361.8 kB / 0.7611 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.6658, allocations: 55.34 kB / 0.7611 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.6661, allocations: 316.5 kB / 0.7614 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.6662, allocations: 29.7 kB / 0.7614 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.6663, allocations: 192 kB / 0.7616 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.6663, allocations: 43.36 kB / 0.7617 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.525e-05/0.6664, allocations: 45.61 kB / 0.7617 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.6665, allocations: 346.7 kB / 0.762 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.6667, allocations: 83.94 kB / 0.7621 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.667, allocations: 151.8 kB / 0.7623 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004001/0.6674, allocations: 237.8 kB / 0.7625 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.6674, allocations: 0 / 0.7625 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005633/0.668, allocations: 280.4 kB / 0.7628 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.668, allocations: 4 kB / 0.7628 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.668, allocations: 4.188 kB / 0.7628 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.668, allocations: 7.938 kB / 0.7628 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.6683, allocations: 43.91 kB / 0.7628 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.6683, allocations: 4 kB / 0.7628 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.6685, allocations: 39.67 kB / 0.7629 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.605e-05/0.6686, allocations: 11.98 kB / 0.7629 GB, free: 7.078 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.0001512/0.6687, allocations: 163.2 kB / 0.763 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.6688, allocations: 27.62 kB / 0.7631 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006896/0.6695, allocations: 313.5 kB / 0.7634 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.6695, allocations: 3.938 kB / 0.7634 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.6695, allocations: 0 / 0.7634 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.6695, allocations: 0 / 0.7634 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.6708, allocations: 0.8084 MB / 0.7641 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.6708, allocations: 4.031 kB / 0.7641 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.671, allocations: 43.91 kB / 0.7642 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/0.671, allocations: 7.938 kB / 0.7642 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.671, allocations: 4 kB / 0.7642 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.6711, allocations: 0 / 0.7642 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.6711, allocations: 4 kB / 0.7642 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006242/0.6717, allocations: 397 kB / 0.7646 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.6719, allocations: 140.6 kB / 0.7647 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.057e-05/0.6719, allocations: 11.94 kB / 0.7647 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/0.6722, allocations: 23.97 kB / 0.7648 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.991e-05/0.6723, allocations: 15.92 kB / 0.7648 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.6723, allocations: 12 kB / 0.7648 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002492/0.6726, allocations: 227 kB / 0.765 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6726, allocations: 4 kB / 0.765 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006487/0.6732, allocations: 123.8 kB / 0.7651 GB, free: 4.637 MB / 0.5762 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.001513/0.6748, allocations: 1.066 MB / 0.7662 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005395/0.6753, allocations: 214.3 kB / 0.7664 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6753, allocations: 0 / 0.7664 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002333/0.6756, allocations: 119.8 kB / 0.7665 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009569/0.6765, allocations: 150.4 kB / 0.7666 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00421/0.6807, allocations: 3.148 MB / 0.7697 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.6811, allocations: 0.7875 MB / 0.7705 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000337/0.6815, allocations: 91.03 kB / 0.7706 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.6816, allocations: 103.4 kB / 0.7706 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of SimCode: time 6.92e-07/0.6817, allocations: 0 / 0.7706 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02225/0.7039, allocations: 10.01 MB / 0.7804 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/0.7042, allocations: 227.2 kB / 0.7806 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.87/2.574, allocations: 0 / 0.7806 GB, free: 4.73 MB / 0.5919 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)