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.001446/0.001446, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00165/0.00165, allocations: 193.7 kB / 16.25 MB, free: 6.633 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.778/1.778, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.059/1.059, allocations: 135.1 MB / 425.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 64.08 kB / 0.505 GB, free: 5.602 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.23, allocations: 80.93 MB / 0.584 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.8237/1.054, allocations: 167.1 MB / 0.7472 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01781/1.072, allocations: 7.095 MB / 0.7541 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001769/1.073, allocations: 9.281 kB / 0.7542 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001863/1.075, allocations: 149.4 kB / 0.7543 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009029/1.085, allocations: 1.187 MB / 0.7555 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003635/1.088, allocations: 0.5842 MB / 0.756 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002035/1.09, allocations: 0.7603 MB / 0.7568 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009475/1.091, allocations: 278.7 kB / 0.757 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002956/1.094, allocations: 0.5604 MB / 0.7576 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002046/1.096, allocations: 442.5 kB / 0.758 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002084/1.097, allocations: 24 kB / 0.758 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005738/1.102, allocations: 1.305 MB / 0.7593 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003905/1.103, allocations: 127.6 kB / 0.7594 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006817/1.103, allocations: 187.1 kB / 0.7596 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003349/1.107, allocations: 0.9739 MB / 0.7606 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.338e-05/1.107, allocations: 4 kB / 0.7606 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.405e-06/1.107, allocations: 7.875 kB / 0.7606 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.176e-05/1.107, allocations: 0 / 0.7606 GB, free: 8.531 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.002062/1.109, allocations: 0.6857 MB / 0.7612 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.655e-05/1.109, allocations: 12.03 kB / 0.7612 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001472/1.109, allocations: 59.05 kB / 0.7613 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001869/1.111, allocations: 143.3 kB / 0.7614 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008253/1.112, allocations: 325.1 kB / 0.7617 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/1.112, allocations: 48.77 kB / 0.7618 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.313e-05/1.112, allocations: 24 kB / 0.7618 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/1.114, allocations: 370.1 kB / 0.7622 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.338e-05/1.114, allocations: 11.98 kB / 0.7622 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.793e-05/1.114, allocations: 8 kB / 0.7622 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.597e-05/1.114, allocations: 11.94 kB / 0.7622 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000928/1.115, allocations: 270 kB / 0.7625 GB, free: 6.473 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.003127/1.118, allocations: 1.492 MB / 0.7639 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000683/1.118, allocations: 194.5 kB / 0.7641 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003693/1.119, allocations: 120.8 kB / 0.7642 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001713/1.121, allocations: 0.5014 MB / 0.7647 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/1.121, allocations: 34.56 kB / 0.7647 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 4.097e-06/1.121, allocations: 0 / 0.7647 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.00164/1.122, allocations: 365 kB / 0.7651 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.807e-05/1.122, allocations: 55.41 kB / 0.7651 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006209/1.123, allocations: 312.5 kB / 0.7654 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.72e-05/1.123, allocations: 29.7 kB / 0.7655 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/1.123, allocations: 184 kB / 0.7656 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.505e-05/1.123, allocations: 47.36 kB / 0.7657 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/1.124, allocations: 45.61 kB / 0.7657 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002614/1.124, allocations: 346.7 kB / 0.7661 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000336/1.124, allocations: 83.94 kB / 0.7661 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004084/1.125, allocations: 147.8 kB / 0.7663 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000736/1.125, allocations: 237.3 kB / 0.7665 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/1.125, allocations: 4 kB / 0.7665 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001036/1.126, allocations: 281.1 kB / 0.7668 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.923e-05/1.127, allocations: 8 kB / 0.7668 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/1.127, allocations: 0 / 0.7668 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/1.127, allocations: 7.938 kB / 0.7668 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/1.127, allocations: 43.91 kB / 0.7668 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/1.127, allocations: 0.5469 kB / 0.7668 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000464/1.127, allocations: 50.55 kB / 0.7669 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-05/1.128, allocations: 15.98 kB / 0.7669 GB, free: 1.586 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.0002877/1.128, allocations: 153.7 kB / 0.767 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002198/1.128, allocations: 27.62 kB / 0.7671 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/1.129, allocations: 309.6 kB / 0.7674 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/1.129, allocations: 0 / 0.7674 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/1.129, allocations: 0 / 0.7674 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/1.129, allocations: 4 kB / 0.7674 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00223/1.132, allocations: 0.812 MB / 0.7682 GB, free: 204 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/1.132, allocations: 4 kB / 0.7682 GB, free: 200 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/1.132, allocations: 35.91 kB / 0.7682 GB, free: 164 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/1.132, allocations: 7.938 kB / 0.7682 GB, free: 156 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/1.132, allocations: 8 kB / 0.7682 GB, free: 148 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/1.132, allocations: 4 kB / 0.7682 GB, free: 144 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.132, allocations: 4.219 kB / 0.7682 GB, free: 140 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/1.133, allocations: 395.7 kB / 0.7686 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002785/1.134, allocations: 144.1 kB / 0.7687 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.571e-05/1.134, allocations: 4 kB / 0.7687 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004725/1.134, allocations: 19.98 kB / 0.7688 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/1.134, allocations: 27.91 kB / 0.7688 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.751e-05/1.134, allocations: 8 kB / 0.7688 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004577/1.135, allocations: 227 kB / 0.769 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.81e-07/1.135, allocations: 0 / 0.769 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009916/1.136, allocations: 123.8 kB / 0.7691 GB, free: 15.16 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.002392/1.138, allocations: 1.065 MB / 0.7702 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008962/1.139, allocations: 223.6 kB / 0.7704 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/1.139, allocations: 4 kB / 0.7704 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004107/1.14, allocations: 112.6 kB / 0.7705 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/1.141, allocations: 153 kB / 0.7706 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008025/1.149, allocations: 3.156 MB / 0.7737 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008132/1.15, allocations: 0.7872 MB / 0.7745 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007847/1.151, allocations: 93.61 kB / 0.7746 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003766/1.151, allocations: 99.41 kB / 0.7747 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of SimCode: time 2.905e-06/1.151, allocations: 0 / 0.7747 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05944/1.211, allocations: 10.25 MB / 0.7847 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000447/1.211, allocations: 228.7 kB / 0.7849 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.352/4.563, allocations: 0 / 0.7849 GB, free: 15.02 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)