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.0009957/0.0009956, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.007552/0.007552, allocations: 170.4 kB / 16.27 MB, free: 6.648 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.366/1.366, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9428/0.9428, allocations: 135.3 MB / 426.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002971/0.0002972, allocations: 9.188 kB / 0.5077 GB, free: 4.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1398, allocations: 82.31 MB / 0.5881 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4251/0.565, allocations: 165 MB / 0.7492 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008521/0.5735, allocations: 7.116 MB / 0.7562 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004712/0.574, allocations: 10.66 kB / 0.7562 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005239/0.5746, allocations: 137.3 kB / 0.7563 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003023/0.5776, allocations: 1.19 MB / 0.7575 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.5792, allocations: 0.5687 MB / 0.758 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001181/0.5804, allocations: 1.058 MB / 0.7591 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004651/0.5809, allocations: 243 kB / 0.7593 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.5821, allocations: 0.5185 MB / 0.7598 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009022/0.583, allocations: 418 kB / 0.7602 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.623e-05/0.583, allocations: 19.62 kB / 0.7602 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002483/0.5855, allocations: 1.468 MB / 0.7616 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.5857, allocations: 107.6 kB / 0.7617 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000281/0.586, allocations: 200.8 kB / 0.7619 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001762/0.5878, allocations: 0.9698 MB / 0.7629 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.5878, allocations: 0 / 0.7629 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5878, allocations: 0 / 0.7629 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.5878, allocations: 0 / 0.7629 GB, free: 9.422 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.001153/0.589, allocations: 0.6273 MB / 0.7635 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.589, allocations: 16.03 kB / 0.7635 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.738e-05/0.5891, allocations: 62.53 kB / 0.7636 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.5903, allocations: 131.3 kB / 0.7637 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004407/0.5907, allocations: 325.1 kB / 0.764 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.896e-05/0.5908, allocations: 50.27 kB / 0.7641 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.996e-05/0.5909, allocations: 24 kB / 0.7641 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006536/0.5915, allocations: 378.1 kB / 0.7644 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.5915, allocations: 3.938 kB / 0.7644 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.047e-05/0.5916, allocations: 15.98 kB / 0.7645 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.5916, allocations: 11.94 kB / 0.7645 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006074/0.5922, allocations: 282 kB / 0.7647 GB, free: 7.402 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.001823/0.5941, allocations: 1.5 MB / 0.7662 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003804/0.5944, allocations: 194.6 kB / 0.7664 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.5947, allocations: 128.8 kB / 0.7665 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009605/0.5956, allocations: 0.517 MB / 0.767 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.5957, allocations: 38.55 kB / 0.767 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.5957, allocations: 0 / 0.767 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0009182/0.5966, allocations: 377 kB / 0.7674 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.5967, allocations: 51.41 kB / 0.7675 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/0.597, allocations: 312.5 kB / 0.7678 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.597, allocations: 33.7 kB / 0.7678 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.5971, allocations: 184 kB / 0.768 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.377e-05/0.5972, allocations: 51.3 kB / 0.768 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.5972, allocations: 17.72 kB / 0.768 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.5974, allocations: 350.7 kB / 0.7684 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.5975, allocations: 83.94 kB / 0.7684 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.5978, allocations: 156 kB / 0.7686 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004162/0.5982, allocations: 253.3 kB / 0.7688 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5982, allocations: 0 / 0.7688 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005755/0.5988, allocations: 293 kB / 0.7691 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.5988, allocations: 4 kB / 0.7691 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.5988, allocations: 4 kB / 0.7691 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.5989, allocations: 4 kB / 0.7691 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.5991, allocations: 51.84 kB / 0.7692 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.5991, allocations: 4.188 kB / 0.7692 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.5993, allocations: 43.67 kB / 0.7692 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.5994, allocations: 11.98 kB / 0.7692 GB, free: 2.461 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.0001533/0.5995, allocations: 153.7 kB / 0.7694 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.926e-05/0.5996, allocations: 23.72 kB / 0.7694 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007002/0.6003, allocations: 329.3 kB / 0.7697 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.6004, allocations: 7.984 kB / 0.7697 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6004, allocations: 3.984 kB / 0.7697 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6004, allocations: 0 / 0.7697 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.6016, allocations: 0.8162 MB / 0.7705 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.279e-06/0.6016, allocations: 4 kB / 0.7705 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.6018, allocations: 43.84 kB / 0.7706 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.6018, allocations: 0.875 kB / 0.7706 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.6018, allocations: 8 kB / 0.7706 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.6018, allocations: 4 kB / 0.7706 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.6019, allocations: 8.219 kB / 0.7706 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005779/0.6024, allocations: 405 kB / 0.771 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.6026, allocations: 140.6 kB / 0.7711 GB, free: 396 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/0.6026, allocations: 8 kB / 0.7711 GB, free: 388 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.6029, allocations: 30.97 kB / 0.7711 GB, free: 360 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/0.603, allocations: 19.92 kB / 0.7712 GB, free: 340 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.603, allocations: 8 kB / 0.7712 GB, free: 332 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002036/0.6032, allocations: 227 kB / 0.7714 GB, free: 112 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6032, allocations: 0 / 0.7714 GB, free: 112 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004865/0.6037, allocations: 131.8 kB / 0.7715 GB, free: 15.98 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.00125/0.605, allocations: 1.073 MB / 0.7726 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004722/0.6054, allocations: 227.7 kB / 0.7728 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.6055, allocations: 0 / 0.7728 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.6057, allocations: 128.2 kB / 0.7729 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009157/0.6066, allocations: 147.5 kB / 0.773 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003823/0.6104, allocations: 3.188 MB / 0.7762 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.6108, allocations: 0.7836 MB / 0.7769 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003039/0.6111, allocations: 87.27 kB / 0.777 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.6113, allocations: 103.4 kB / 0.7771 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of SimCode: time 3.91e-07/0.6113, allocations: 0 / 0.7771 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2795/0.8907, allocations: 9.87 MB / 0.7867 GB, free: 436 kB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002856/0.8911, allocations: 224.5 kB / 0.787 GB, free: 176 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/2.806, allocations: 0 / 0.787 GB, free: 176 kB / 0.5919 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)