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.01092/0.01092, allocations: 101.6 kB / 15.73 MB, free: 6.043 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.002396/0.002396, allocations: 197.5 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.375/2.375, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.392/1.392, allocations: 132.2 MB / 422.7 MB, free: 6.648 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002187, allocations: 68.73 kB / 0.5809 GB, free: 23.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2574, allocations: 80.21 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 1.156/1.413, allocations: 163.2 MB / 0.8186 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0115/1.425, allocations: 4.585 MB / 0.8231 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009645/1.426, allocations: 8.844 kB / 0.8231 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009465/1.427, allocations: 125.8 kB / 0.8232 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003048/1.43, allocations: 0.537 MB / 0.8237 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003746/1.434, allocations: 0.7758 MB / 0.8245 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001324/1.435, allocations: 0.5786 MB / 0.825 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005737/1.436, allocations: 215.6 kB / 0.8253 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001721/1.437, allocations: 459.4 kB / 0.8257 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009692/1.438, allocations: 292.9 kB / 0.826 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.672e-05/1.438, allocations: 17.97 kB / 0.826 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003518/1.442, allocations: 0.9974 MB / 0.827 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002066/1.442, allocations: 86.41 kB / 0.827 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002597/1.442, allocations: 130.7 kB / 0.8272 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00196/1.444, allocations: 0.7275 MB / 0.8279 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/1.444, allocations: 0 / 0.8279 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.234e-06/1.444, allocations: 2.375 kB / 0.8279 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.837e-06/1.444, allocations: 0 / 0.8279 GB, free: 2.531 MB / 0.5919 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.001484/1.446, allocations: 0.5931 MB / 0.8285 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.012e-05/1.446, allocations: 14.52 kB / 0.8285 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.614e-05/1.446, allocations: 54.14 kB / 0.8285 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/1.447, allocations: 73.03 kB / 0.8286 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007/1.448, allocations: 297.2 kB / 0.8289 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/1.448, allocations: 12 kB / 0.8289 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.663e-05/1.448, allocations: 22.94 kB / 0.8289 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008263/1.449, allocations: 289.2 kB / 0.8292 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/1.449, allocations: 6.688 kB / 0.8292 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.7e-05/1.449, allocations: 9.531 kB / 0.8292 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/1.449, allocations: 5.281 kB / 0.8292 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006739/1.45, allocations: 213.1 kB / 0.8294 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002526/1.452, allocations: 1.237 MB / 0.8306 GB, free: 160 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005306/1.453, allocations: 175.5 kB / 0.8308 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003135/1.453, allocations: 113.6 kB / 0.8309 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001308/1.454, allocations: 328.7 kB / 0.8312 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.982e-05/1.455, allocations: 45.56 kB / 0.8313 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 6.502e-06/1.455, allocations: 4 kB / 0.8313 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.001479/1.456, allocations: 281.9 kB / 0.8315 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/1.456, allocations: 160.6 kB / 0.8317 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004573/1.457, allocations: 287.5 kB / 0.832 GB, free: 15 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.965e-05/1.457, allocations: 36.58 kB / 0.832 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/1.457, allocations: 142 kB / 0.8321 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.191e-05/1.457, allocations: 50.7 kB / 0.8322 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/1.457, allocations: 40.45 kB / 0.8322 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001779/1.457, allocations: 338.6 kB / 0.8325 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/1.458, allocations: 67.22 kB / 0.8326 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000441/1.458, allocations: 142.2 kB / 0.8327 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004819/1.458, allocations: 210.7 kB / 0.8329 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.459, allocations: 2.719 kB / 0.8329 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005641/1.459, allocations: 245.7 kB / 0.8332 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/1.459, allocations: 5.75 kB / 0.8332 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/1.459, allocations: 2.281 kB / 0.8332 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/1.459, allocations: 4.656 kB / 0.8332 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/1.459, allocations: 40.05 kB / 0.8332 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/1.459, allocations: 6.312 kB / 0.8332 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002419/1.46, allocations: 32.52 kB / 0.8333 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/1.46, allocations: 11.97 kB / 0.8333 GB, free: 13.94 MB / 0.6075 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.0001765/1.46, allocations: 151.7 kB / 0.8334 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/1.46, allocations: 27.84 kB / 0.8334 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005074/1.461, allocations: 189.9 kB / 0.8336 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/1.461, allocations: 6.625 kB / 0.8336 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/1.461, allocations: 7.25 kB / 0.8336 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.461, allocations: 0 / 0.8336 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/1.462, allocations: 0.8566 MB / 0.8345 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/1.462, allocations: 2.562 kB / 0.8345 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/1.463, allocations: 25.58 kB / 0.8345 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/1.463, allocations: 2.719 kB / 0.8345 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/1.463, allocations: 10.81 kB / 0.8345 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.268e-06/1.463, allocations: 3.25 kB / 0.8345 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.463, allocations: 0 / 0.8345 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009847/1.464, allocations: 337.1 kB / 0.8348 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/1.464, allocations: 121.7 kB / 0.835 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.986e-05/1.464, allocations: 6.656 kB / 0.835 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/1.464, allocations: 8.891 kB / 0.835 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.753e-05/1.464, allocations: 12.42 kB / 0.835 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/1.464, allocations: 8.156 kB / 0.835 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004217/1.465, allocations: 234.4 kB / 0.8352 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of sort global known variables: time 5.01e-07/1.465, allocations: 0 / 0.8352 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008898/1.466, allocations: 91.58 kB / 0.8353 GB, free: 12.23 MB / 0.6075 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.002331/1.468, allocations: 0.9852 MB / 0.8363 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007122/1.469, allocations: 148.2 kB / 0.8364 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/1.469, allocations: 0 / 0.8364 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002553/1.469, allocations: 61.16 kB / 0.8365 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/1.471, allocations: 137.5 kB / 0.8366 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006108/1.477, allocations: 2.764 MB / 0.8393 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005417/1.477, allocations: 0.7581 MB / 0.84 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003942/1.478, allocations: 61.97 kB / 0.8401 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001969/1.478, allocations: 78.02 kB / 0.8402 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of SimCode: time 1.393e-06/1.478, allocations: 0 / 0.8402 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08911/1.567, allocations: 8.715 MB / 0.8487 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/14.57, allocations: 6.5 kB / 0.8487 GB, free: 3.617 MB / 0.6075 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)