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.001033/0.001033, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001027/0.001027, allocations: 194.5 kB / 16.14 MB, free: 6.707 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.287/1.287, allocations: 222.9 MB / 239.8 MB, free: 4.656 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7327/0.7327, allocations: 132.2 MB / 422.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 59.72 kB / 0.5012 GB, free: 4.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3394, allocations: 80.2 MB / 0.5795 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.167/0.5064, allocations: 161 MB / 0.7367 GB, free: 260 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005157/0.5116, allocations: 4.623 MB / 0.7412 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000295/0.5119, allocations: 15.88 kB / 0.7412 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003918/0.5123, allocations: 95.3 kB / 0.7413 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.5134, allocations: 0.5097 MB / 0.7418 GB, free: 11 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.5149, allocations: 0.7038 MB / 0.7425 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006986/0.5156, allocations: 0.8184 MB / 0.7433 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002707/0.5159, allocations: 185.5 kB / 0.7435 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008163/0.5167, allocations: 430.3 kB / 0.7439 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000503/0.5173, allocations: 294.9 kB / 0.7442 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.36e-05/0.5173, allocations: 12 kB / 0.7442 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.5189, allocations: 1.161 MB / 0.7453 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.609e-05/0.519, allocations: 79.72 kB / 0.7454 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.5192, allocations: 123.3 kB / 0.7455 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009532/0.5201, allocations: 0.7752 MB / 0.7463 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5201, allocations: 0 / 0.7463 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.52e-07/0.5202, allocations: 4 kB / 0.7463 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.5202, allocations: 0 / 0.7463 GB, free: 6.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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009014/0.5211, allocations: 0.593 MB / 0.7469 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.5211, allocations: 8.031 kB / 0.7469 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.828e-05/0.5212, allocations: 54.55 kB / 0.7469 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006821/0.5219, allocations: 79.58 kB / 0.747 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.5222, allocations: 284 kB / 0.7473 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.5223, allocations: 16 kB / 0.7473 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.569e-05/0.5223, allocations: 20 kB / 0.7473 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004915/0.5228, allocations: 287.3 kB / 0.7476 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.5228, allocations: 0 / 0.7476 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.5229, allocations: 8 kB / 0.7476 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.5229, allocations: 8 kB / 0.7476 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004214/0.5233, allocations: 199.8 kB / 0.7478 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.5248, allocations: 1.253 MB / 0.749 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.5251, allocations: 169 kB / 0.7492 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.5253, allocations: 116.4 kB / 0.7493 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007641/0.5261, allocations: 331.2 kB / 0.7496 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.5261, allocations: 42.55 kB / 0.7496 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.5261, allocations: 0 / 0.7496 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.000771/0.5269, allocations: 285.5 kB / 0.7499 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.472e-05/0.527, allocations: 166.1 kB / 0.7501 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.5272, allocations: 287 kB / 0.7503 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.5273, allocations: 25.7 kB / 0.7504 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.5274, allocations: 148.1 kB / 0.7505 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.066e-05/0.5274, allocations: 55.3 kB / 0.7506 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-05/0.5275, allocations: 37.72 kB / 0.7506 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.5276, allocations: 334.8 kB / 0.7509 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.5278, allocations: 67.94 kB / 0.751 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.528, allocations: 150.1 kB / 0.7511 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/0.5284, allocations: 215.5 kB / 0.7513 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5284, allocations: 0 / 0.7513 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004933/0.5289, allocations: 245.2 kB / 0.7516 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.5289, allocations: 4 kB / 0.7516 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.5289, allocations: 4 kB / 0.7516 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.529, allocations: 0 / 0.7516 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.5292, allocations: 43.91 kB / 0.7516 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.5292, allocations: 3.938 kB / 0.7516 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.5294, allocations: 31.73 kB / 0.7516 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/0.5294, allocations: 12.12 kB / 0.7517 GB, free: 460 kB / 0.5762 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.0001297/0.5295, allocations: 155.2 kB / 0.7518 GB, free: 296 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.5297, allocations: 27.7 kB / 0.7518 GB, free: 268 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004744/0.5302, allocations: 189.8 kB / 0.752 GB, free: 60 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.5302, allocations: 4 kB / 0.752 GB, free: 56 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.5302, allocations: 3.938 kB / 0.752 GB, free: 52 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.5302, allocations: 4 kB / 0.752 GB, free: 48 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009307/0.5312, allocations: 0.8471 MB / 0.7528 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5312, allocations: 0 / 0.7528 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.5313, allocations: 31.92 kB / 0.7529 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.5313, allocations: 0 / 0.7529 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.5313, allocations: 8.109 kB / 0.7529 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.5313, allocations: 8.156 kB / 0.7529 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5314, allocations: 4 kB / 0.7529 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000542/0.5319, allocations: 339.3 kB / 0.7532 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.555e-05/0.532, allocations: 112.8 kB / 0.7533 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.209e-05/0.532, allocations: 4 kB / 0.7533 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.5322, allocations: 7.984 kB / 0.7533 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.5323, allocations: 15.92 kB / 0.7534 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.5323, allocations: 4 kB / 0.7534 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002206/0.5325, allocations: 238 kB / 0.7536 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.422e-06/0.5325, allocations: 0 / 0.7536 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004555/0.533, allocations: 103.8 kB / 0.7537 GB, free: 14.22 MB / 0.5919 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.001159/0.5341, allocations: 0.9909 MB / 0.7547 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003941/0.5346, allocations: 147.7 kB / 0.7548 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5346, allocations: 0 / 0.7548 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.5347, allocations: 64.7 kB / 0.7549 GB, free: 13 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007764/0.5355, allocations: 124.5 kB / 0.755 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003221/0.5387, allocations: 2.829 MB / 0.7577 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.539, allocations: 0.756 MB / 0.7585 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002058/0.5392, allocations: 66.88 kB / 0.7585 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.5394, allocations: 79.41 kB / 0.7586 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/0.5394, allocations: 0 / 0.7586 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/0.5578, allocations: 8.177 MB / 0.7666 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/0.558, allocations: 234 kB / 0.7668 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.856/2.414, allocations: 0 / 0.7668 GB, free: 0.7266 MB / 0.5919 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)