Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildingSystems_BuildingSystems_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.001124/0.001124, 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.001301/0.001301, allocations: 198.5 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.345/1.345, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002101/0.002101, allocations: 286.9 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9423/0.9423, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 94.92 kB / 0.5953 GB, free: 27.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1449, allocations: 86.98 MB / 0.6803 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.4474/0.5923, allocations: 163.2 MB / 0.8397 GB, free: 100 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005667/0.598, allocations: 4.583 MB / 0.8442 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006673/0.5987, allocations: 9.656 kB / 0.8442 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006406/0.5994, allocations: 126.2 kB / 0.8443 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001703/0.6011, allocations: 0.5325 MB / 0.8448 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002096/0.6033, allocations: 0.7717 MB / 0.8456 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007068/0.604, allocations: 0.576 MB / 0.8461 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003622/0.6043, allocations: 207.9 kB / 0.8463 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.6054, allocations: 461.1 kB / 0.8468 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005437/0.6059, allocations: 296.9 kB / 0.847 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.43e-05/0.606, allocations: 18.78 kB / 0.8471 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001879/0.6079, allocations: 1.003 MB / 0.848 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.608, allocations: 84.34 kB / 0.8481 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001849/0.6082, allocations: 123.1 kB / 0.8482 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.6094, allocations: 0.7198 MB / 0.8489 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.6095, allocations: 0 / 0.8489 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6095, allocations: 3.938 kB / 0.8489 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.884e-06/0.6095, allocations: 0 / 0.8489 GB, free: 13.56 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.00124/0.6107, allocations: 0.5931 MB / 0.8495 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/0.6108, allocations: 10.16 kB / 0.8495 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.231e-05/0.6109, allocations: 52.52 kB / 0.8496 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008142/0.6117, allocations: 74.53 kB / 0.8497 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000523/0.6122, allocations: 288.2 kB / 0.8499 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.6123, allocations: 15.75 kB / 0.8499 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.463e-05/0.6123, allocations: 25.64 kB / 0.85 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005173/0.6129, allocations: 283 kB / 0.8502 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.6129, allocations: 2.438 kB / 0.8502 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.6129, allocations: 7.938 kB / 0.8502 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.6129, allocations: 9.688 kB / 0.8503 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004376/0.6134, allocations: 207.7 kB / 0.8505 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.615, allocations: 1.242 MB / 0.8517 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/0.6153, allocations: 178.8 kB / 0.8518 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.6155, allocations: 110.7 kB / 0.8519 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008063/0.6163, allocations: 333.3 kB / 0.8523 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.6164, allocations: 41.56 kB / 0.8523 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/0.6164, allocations: 0 / 0.8523 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007466/0.6171, allocations: 288 kB / 0.8526 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.831e-05/0.6172, allocations: 156.7 kB / 0.8527 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003681/0.6176, allocations: 283.2 kB / 0.853 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.6176, allocations: 31.98 kB / 0.853 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.6178, allocations: 145.5 kB / 0.8532 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.404e-05/0.6178, allocations: 50.02 kB / 0.8532 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.229e-05/0.6179, allocations: 42.14 kB / 0.8533 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.618, allocations: 339.9 kB / 0.8536 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.6182, allocations: 68.28 kB / 0.8536 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.6185, allocations: 148.2 kB / 0.8538 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004375/0.6189, allocations: 217.8 kB / 0.854 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.619, allocations: 0 / 0.854 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006167/0.6196, allocations: 238 kB / 0.8542 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.6196, allocations: 8.781 kB / 0.8542 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.6196, allocations: 3.219 kB / 0.8542 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.6196, allocations: 7.203 kB / 0.8542 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.6198, allocations: 35.55 kB / 0.8543 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.6199, allocations: 8.531 kB / 0.8543 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.62, allocations: 22.86 kB / 0.8543 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.6201, allocations: 15.84 kB / 0.8543 GB, free: 9 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.0001423/0.6202, allocations: 152.1 kB / 0.8545 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.6204, allocations: 32.75 kB / 0.8545 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004763/0.6209, allocations: 187 kB / 0.8547 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.6209, allocations: 2.625 kB / 0.8547 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.6209, allocations: 3.984 kB / 0.8547 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.6209, allocations: 2.438 kB / 0.8547 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009384/0.6219, allocations: 0.8528 MB / 0.8555 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.6219, allocations: 2.219 kB / 0.8555 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.622, allocations: 21.83 kB / 0.8555 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.622, allocations: 10.56 kB / 0.8555 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.622, allocations: 6.031 kB / 0.8555 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.622, allocations: 6.469 kB / 0.8556 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.622, allocations: 0 / 0.8556 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005493/0.6226, allocations: 342 kB / 0.8559 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.242e-05/0.6227, allocations: 118.8 kB / 0.856 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/0.6228, allocations: 4.531 kB / 0.856 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.6229, allocations: 9.547 kB / 0.856 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.623, allocations: 13.02 kB / 0.856 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.623, allocations: 1.812 kB / 0.856 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002447/0.6232, allocations: 234.8 kB / 0.8562 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6232, allocations: 0 / 0.8562 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004618/0.6237, allocations: 91.66 kB / 0.8563 GB, free: 7.305 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.00129/0.625, allocations: 0.9934 MB / 0.8573 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004532/0.6255, allocations: 158.6 kB / 0.8575 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.6255, allocations: 4.188 kB / 0.8575 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.6256, allocations: 56.22 kB / 0.8575 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008064/0.6265, allocations: 149.3 kB / 0.8577 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003505/0.63, allocations: 2.758 MB / 0.8603 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.6303, allocations: 0.7643 MB / 0.8611 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002084/0.6305, allocations: 59.61 kB / 0.8612 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.6307, allocations: 78.53 kB / 0.8612 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/0.6307, allocations: 0 / 0.8612 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03221/0.6629, allocations: 8.56 MB / 0.8696 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.55/8.213, allocations: 6.391 kB / 0.8696 GB, free: 15.06 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)