Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy",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.004434/0.004434, allocations: 97.39 kB / 15.73 MB, free: 5.988 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.001277/0.001277, allocations: 188 kB / 16.67 MB, free: 5.918 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7998/0.7998, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 68.61 kB / 0.5809 GB, free: 1.109 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1564, allocations: 80.2 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.5582/0.7146, allocations: 163.2 MB / 0.8186 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.004877/0.7195, allocations: 4.588 MB / 0.8231 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003328/0.7199, allocations: 10.56 kB / 0.8231 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0004078/0.7203, allocations: 124.9 kB / 0.8232 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.7217, allocations: 0.5379 MB / 0.8237 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001981/0.7236, allocations: 0.7711 MB / 0.8245 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0007535/0.7244, allocations: 0.58 MB / 0.825 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003278/0.7247, allocations: 210.2 kB / 0.8252 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008596/0.7256, allocations: 467.3 kB / 0.8257 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005342/0.7262, allocations: 291.1 kB / 0.826 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.011e-05/0.7262, allocations: 18.47 kB / 0.826 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001748/0.728, allocations: 0.999 MB / 0.827 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.7281, allocations: 91.39 kB / 0.8271 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.7282, allocations: 130.3 kB / 0.8272 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.7294, allocations: 0.7172 MB / 0.8279 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.7294, allocations: 2.281 kB / 0.8279 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7294, allocations: 0.9062 kB / 0.8279 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.7295, allocations: 0 / 0.8279 GB, free: 2.77 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008428/0.7303, allocations: 0.6096 MB / 0.8285 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.7304, allocations: 10.66 kB / 0.8285 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.336e-05/0.7304, allocations: 52.19 kB / 0.8285 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006138/0.731, allocations: 72.92 kB / 0.8286 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003667/0.7314, allocations: 299.7 kB / 0.8289 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.7314, allocations: 20.19 kB / 0.8289 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.311e-05/0.7315, allocations: 23.11 kB / 0.8289 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004659/0.732, allocations: 286.3 kB / 0.8292 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.732, allocations: 0.875 kB / 0.8292 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.732, allocations: 6.922 kB / 0.8292 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.732, allocations: 7.422 kB / 0.8292 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000421/0.7325, allocations: 208.5 kB / 0.8294 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.7339, allocations: 1.237 MB / 0.8306 GB, free: 17.1 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.7341, allocations: 178.4 kB / 0.8308 GB, free: 16.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.7343, allocations: 111.2 kB / 0.8309 GB, free: 16.94 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000742/0.7351, allocations: 336.1 kB / 0.8312 GB, free: 16.66 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.7351, allocations: 38.38 kB / 0.8313 GB, free: 16.62 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.7351, allocations: 1.203 kB / 0.8313 GB, free: 16.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0007142/0.7358, allocations: 282 kB / 0.8315 GB, free: 16.57 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.608e-05/0.7359, allocations: 163.8 kB / 0.8317 GB, free: 16.38 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.7362, allocations: 283.3 kB / 0.832 GB, free: 16.29 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.7362, allocations: 31.42 kB / 0.832 GB, free: 16.25 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.853e-05/0.7363, allocations: 146.7 kB / 0.8321 GB, free: 16.16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.7364, allocations: 46.38 kB / 0.8322 GB, free: 16.13 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.749e-05/0.7364, allocations: 48.08 kB / 0.8322 GB, free: 16.11 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.7366, allocations: 335.2 kB / 0.8325 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.7367, allocations: 70.86 kB / 0.8326 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.7369, allocations: 142.4 kB / 0.8327 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003289/0.7373, allocations: 216 kB / 0.8329 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7373, allocations: 2.156 kB / 0.8329 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004644/0.7377, allocations: 251.7 kB / 0.8332 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.7378, allocations: 7.594 kB / 0.8332 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.7378, allocations: 1.219 kB / 0.8332 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.7378, allocations: 7.203 kB / 0.8332 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.738, allocations: 38.36 kB / 0.8332 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.738, allocations: 10.91 kB / 0.8333 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.7382, allocations: 28.81 kB / 0.8333 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.7382, allocations: 10.59 kB / 0.8333 GB, free: 15.59 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001399/0.7384, allocations: 154.2 kB / 0.8334 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.7385, allocations: 32.91 kB / 0.8335 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004172/0.7389, allocations: 183.8 kB / 0.8336 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.7389, allocations: 2.375 kB / 0.8336 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.7389, allocations: 2.188 kB / 0.8336 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.7389, allocations: 5.984 kB / 0.8337 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008985/0.7399, allocations: 0.8562 MB / 0.8345 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.7399, allocations: 2.188 kB / 0.8345 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.74, allocations: 21.34 kB / 0.8345 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.74, allocations: 1.25 kB / 0.8345 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.74, allocations: 8.344 kB / 0.8345 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.74, allocations: 7.891 kB / 0.8345 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.74, allocations: 7.375 kB / 0.8345 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005006/0.7405, allocations: 332.3 kB / 0.8349 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.23e-05/0.7406, allocations: 110 kB / 0.835 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.7407, allocations: 11.58 kB / 0.835 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.7408, allocations: 12.58 kB / 0.835 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.7409, allocations: 19.27 kB / 0.835 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.7409, allocations: 5 kB / 0.835 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002014/0.7411, allocations: 233.8 kB / 0.8352 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7411, allocations: 1.969 kB / 0.8352 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004551/0.7416, allocations: 98.31 kB / 0.8353 GB, free: 14.35 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.001171/0.7427, allocations: 0.9906 MB / 0.8363 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003486/0.7431, allocations: 154.5 kB / 0.8364 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7431, allocations: 0 / 0.8364 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.7432, allocations: 61.19 kB / 0.8365 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006973/0.7439, allocations: 136.7 kB / 0.8366 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003038/0.747, allocations: 2.77 MB / 0.8393 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.7474, allocations: 0.7615 MB / 0.8401 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001859/0.7475, allocations: 65.36 kB / 0.8401 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.205e-05/0.7476, allocations: 76.56 kB / 0.8402 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.7477, allocations: 0 / 0.8402 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5102/1.258, allocations: 8.606 MB / 0.8486 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.369/9.627, allocations: 0 / 0.8486 GB, free: 10.66 MB / 0.6544 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)