Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SpecificEntropy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IDEAS_dev_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.001187/0.001187, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.413/1.413, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9611/0.9611, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 64.47 kB / 0.5054 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1703, allocations: 80.93 MB / 0.5845 GB, free: 4.414 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.4334/0.6038, allocations: 163.2 MB / 0.7439 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006243/0.6101, allocations: 4.579 MB / 0.7483 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004905/0.6106, allocations: 15 kB / 0.7483 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004743/0.6112, allocations: 129 kB / 0.7485 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001504/0.6127, allocations: 0.5322 MB / 0.749 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002137/0.6148, allocations: 0.7628 MB / 0.7497 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007809/0.6156, allocations: 0.5765 MB / 0.7503 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003875/0.616, allocations: 219.8 kB / 0.7505 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.6171, allocations: 461.4 kB / 0.7509 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005685/0.6176, allocations: 297.5 kB / 0.7512 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.777e-05/0.6177, allocations: 17.38 kB / 0.7512 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/0.6195, allocations: 0.9894 MB / 0.7522 GB, free: 176 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.6196, allocations: 94.89 kB / 0.7523 GB, free: 112 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.6197, allocations: 115.8 kB / 0.7524 GB, free: 40 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.6209, allocations: 0.7183 MB / 0.7531 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.6209, allocations: 2.219 kB / 0.7531 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.795e-06/0.6209, allocations: 0 / 0.7531 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.6209, allocations: 3.938 kB / 0.7531 GB, free: 15.6 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.0009279/0.6218, allocations: 0.5929 MB / 0.7537 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.6219, allocations: 7.375 kB / 0.7537 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.81e-05/0.622, allocations: 58.77 kB / 0.7538 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006624/0.6226, allocations: 71 kB / 0.7538 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003643/0.623, allocations: 285.1 kB / 0.7541 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.623, allocations: 22.41 kB / 0.7541 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.6231, allocations: 21.09 kB / 0.7541 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004712/0.6236, allocations: 279.1 kB / 0.7544 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.6236, allocations: 3.938 kB / 0.7544 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.6236, allocations: 14.88 kB / 0.7544 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.6236, allocations: 4.688 kB / 0.7544 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004331/0.6241, allocations: 205 kB / 0.7546 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.6256, allocations: 1.245 MB / 0.7558 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.6259, allocations: 177 kB / 0.756 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.6261, allocations: 112.2 kB / 0.7561 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007621/0.6269, allocations: 339.3 kB / 0.7564 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.6269, allocations: 30.56 kB / 0.7565 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.502e-06/0.6269, allocations: 0 / 0.7565 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007694/0.6277, allocations: 285.5 kB / 0.7567 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.954e-05/0.6278, allocations: 158.2 kB / 0.7569 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.6281, allocations: 290.9 kB / 0.7572 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.6281, allocations: 29.7 kB / 0.7572 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.6283, allocations: 155.8 kB / 0.7573 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.6283, allocations: 43.3 kB / 0.7574 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.034e-05/0.6284, allocations: 41.7 kB / 0.7574 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.6285, allocations: 342.8 kB / 0.7578 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.6287, allocations: 68.5 kB / 0.7578 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/0.629, allocations: 136.5 kB / 0.7579 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000392/0.6294, allocations: 217.1 kB / 0.7582 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.6294, allocations: 0 / 0.7582 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005242/0.6299, allocations: 241.1 kB / 0.7584 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.63, allocations: 8.234 kB / 0.7584 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.63, allocations: 10.44 kB / 0.7584 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.63, allocations: 4 kB / 0.7584 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.6302, allocations: 35.92 kB / 0.7584 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.6302, allocations: 4 kB / 0.7584 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.6304, allocations: 31.67 kB / 0.7585 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.6305, allocations: 12 kB / 0.7585 GB, free: 10.17 MB / 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.000144/0.6306, allocations: 151.1 kB / 0.7586 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.6308, allocations: 31.66 kB / 0.7587 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005482/0.6313, allocations: 194.6 kB / 0.7588 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.6313, allocations: 4 kB / 0.7588 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6314, allocations: 0 / 0.7588 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.6314, allocations: 7.938 kB / 0.7589 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.6327, allocations: 0.8499 MB / 0.7597 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.6327, allocations: 3.938 kB / 0.7597 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.6328, allocations: 23.98 kB / 0.7597 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.6328, allocations: 0 / 0.7597 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.6329, allocations: 4 kB / 0.7597 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.6329, allocations: 7.938 kB / 0.7597 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.6329, allocations: 2.109 kB / 0.7597 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005867/0.6335, allocations: 337 kB / 0.76 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.446e-05/0.6336, allocations: 120.8 kB / 0.7602 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.6336, allocations: 4 kB / 0.7602 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.6338, allocations: 11.98 kB / 0.7602 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.6338, allocations: 7.984 kB / 0.7602 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.6339, allocations: 4 kB / 0.7602 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002266/0.6341, allocations: 237.9 kB / 0.7604 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6341, allocations: 3.938 kB / 0.7604 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004583/0.6346, allocations: 92 kB / 0.7605 GB, free: 7.961 MB / 0.5762 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.001262/0.6358, allocations: 1.001 MB / 0.7615 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004187/0.6363, allocations: 163.2 kB / 0.7616 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6363, allocations: 3.938 kB / 0.7616 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.6364, allocations: 55.91 kB / 0.7617 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008083/0.6372, allocations: 133.2 kB / 0.7618 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003399/0.6407, allocations: 2.774 MB / 0.7645 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.641, allocations: 0.7597 MB / 0.7653 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002134/0.6412, allocations: 66.19 kB / 0.7653 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.6413, allocations: 71.42 kB / 0.7654 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of SimCode: time 4.41e-07/0.6413, allocations: 0 / 0.7654 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02864/0.67, allocations: 8.532 MB / 0.7737 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.582/8.252, allocations: 12.72 kB / 0.7738 GB, free: 10.38 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEntropy.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)