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.001623/0.001623, allocations: 100 kB / 15.05 MB, free: 1.105 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.002319/0.002319, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.237/2.237, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.467/1.467, allocations: 132.2 MB / 423.2 MB, free: 2.168 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007825/0.0007829, allocations: 8.625 kB / 0.5033 GB, free: 4.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.957/0.9579, allocations: 81.57 MB / 0.583 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.2905/1.248, allocations: 137 MB / 0.7167 GB, free: 7.238 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008262/1.257, allocations: 3.586 MB / 0.7202 GB, free: 3.648 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005444/1.257, allocations: 7.938 kB / 0.7202 GB, free: 3.641 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/1.258, allocations: 151.3 kB / 0.7204 GB, free: 3.492 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00204/1.26, allocations: 355 kB / 0.7207 GB, free: 3.145 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00294/1.263, allocations: 0.5819 MB / 0.7213 GB, free: 2.57 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009752/1.264, allocations: 351.6 kB / 0.7216 GB, free: 2.223 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000514/1.265, allocations: 177.2 kB / 0.7218 GB, free: 2.051 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001239/1.266, allocations: 331 kB / 0.7221 GB, free: 1.727 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007366/1.267, allocations: 219.3 kB / 0.7223 GB, free: 1.512 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.017e-05/1.267, allocations: 12 kB / 0.7223 GB, free: 1.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001497/1.269, allocations: 443.2 kB / 0.7227 GB, free: 1.066 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001249/1.269, allocations: 75.8 kB / 0.7228 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001061/1.269, allocations: 69.58 kB / 0.7229 GB, free: 0.918 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007162/1.27, allocations: 347.2 kB / 0.7232 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/1.27, allocations: 0 / 0.7232 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.416e-06/1.27, allocations: 0 / 0.7232 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.521e-05/1.27, allocations: 0 / 0.7232 GB, free: 0.5781 MB / 0.545 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.001346/1.271, allocations: 0.5414 MB / 0.7237 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.962e-05/1.271, allocations: 8.031 kB / 0.7237 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.304e-05/1.271, allocations: 54.48 kB / 0.7238 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/1.272, allocations: 75.64 kB / 0.7239 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006141/1.273, allocations: 275.9 kB / 0.7241 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/1.273, allocations: 16 kB / 0.7241 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-05/1.273, allocations: 20 kB / 0.7242 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000781/1.274, allocations: 291.4 kB / 0.7244 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/1.274, allocations: 4 kB / 0.7244 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/1.274, allocations: 4 kB / 0.7244 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/1.274, allocations: 4 kB / 0.7245 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006471/1.274, allocations: 215.8 kB / 0.7247 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002484/1.277, allocations: 1.276 MB / 0.7259 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004646/1.277, allocations: 181 kB / 0.7261 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005819/1.278, allocations: 145 kB / 0.7262 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.419e-05/1.278, allocations: 46.67 kB / 0.7263 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 4.047e-06/1.278, allocations: 0 / 0.7263 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.001304/1.279, allocations: 321.4 kB / 0.7266 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/1.28, allocations: 162.2 kB / 0.7267 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004585/1.28, allocations: 283.1 kB / 0.727 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/1.28, allocations: 29.7 kB / 0.727 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000165/1.28, allocations: 148.1 kB / 0.7272 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.017e-05/1.28, allocations: 43.36 kB / 0.7272 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.603e-05/1.28, allocations: 4 kB / 0.7272 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001901/1.281, allocations: 334.8 kB / 0.7275 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/1.281, allocations: 87.86 kB / 0.7276 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003492/1.281, allocations: 162.3 kB / 0.7278 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002905/1.282, allocations: 99.94 kB / 0.7279 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/1.282, allocations: 0 / 0.7279 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0008935/1.282, allocations: 281.1 kB / 0.7281 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.702e-05/1.283, allocations: 11.95 kB / 0.7281 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/1.283, allocations: 0 / 0.7281 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.975e-05/1.283, allocations: 4.25 kB / 0.7281 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003243/1.283, allocations: 47.86 kB / 0.7282 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/1.283, allocations: 7.984 kB / 0.7282 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003304/1.283, allocations: 31.69 kB / 0.7282 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.516e-05/1.283, allocations: 15.98 kB / 0.7282 GB, free: 11.04 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002259/1.284, allocations: 147.3 kB / 0.7284 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/1.284, allocations: 27.72 kB / 0.7284 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008099/1.285, allocations: 224.1 kB / 0.7286 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/1.285, allocations: 3.938 kB / 0.7286 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/1.285, allocations: 7.984 kB / 0.7286 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/1.285, allocations: 0 / 0.7286 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/1.286, allocations: 0.925 MB / 0.7295 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/1.286, allocations: 0 / 0.7295 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/1.287, allocations: 40.08 kB / 0.7296 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/1.287, allocations: 0 / 0.7296 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/1.287, allocations: 4 kB / 0.7296 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.178e-06/1.287, allocations: 7.984 kB / 0.7296 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.287, allocations: 0 / 0.7296 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/1.288, allocations: 487.8 kB / 0.7301 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/1.288, allocations: 116.8 kB / 0.7302 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.498e-05/1.288, allocations: 0 / 0.7302 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002898/1.289, allocations: 20.05 kB / 0.7302 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.997e-05/1.289, allocations: 11.98 kB / 0.7302 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.309e-05/1.289, allocations: 8 kB / 0.7302 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003524/1.289, allocations: 221.9 kB / 0.7304 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.01e-07/1.289, allocations: 0 / 0.7304 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008216/1.29, allocations: 95.92 kB / 0.7305 GB, free: 8.547 MB / 0.5606 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00213/1.292, allocations: 1.472 MB / 0.7319 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007124/1.293, allocations: 184 kB / 0.7321 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/1.293, allocations: 0 / 0.7321 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002657/1.293, allocations: 92.27 kB / 0.7322 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/1.294, allocations: 125.3 kB / 0.7323 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004436/1.299, allocations: 2.841 MB / 0.7351 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004709/1.299, allocations: 0.7638 MB / 0.7358 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004194/1.3, allocations: 78.86 kB / 0.7359 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/1.3, allocations: 75.41 kB / 0.736 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of SimCode: time 1.212e-06/1.3, allocations: 0 / 0.736 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03508/1.335, allocations: 8.062 MB / 0.7439 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003389/1.335, allocations: 203.5 kB / 0.7441 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.226/4.561, allocations: 0 / 0.7441 GB, free: 10.66 MB / 0.5762 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/linux/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) Environment - environmentSimulation: