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.001296/0.001296, allocations: 104 kB / 15.61 MB, free: 148 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.001226/0.001226, allocations: 196.2 kB / 16.53 MB, free: 6.684 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002448/0.002448, allocations: 291.1 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.023/1.023, allocations: 178.6 MB / 0.5073 GB, free: 4.574 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002603/0.002603, allocations: 99.67 kB / 0.6065 GB, free: 24.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1513, allocations: 89.14 MB / 0.6936 GB, free: 4.215 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.4394/0.5907, allocations: 163.2 MB / 0.853 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005502/0.5962, allocations: 4.576 MB / 0.8575 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003242/0.5966, allocations: 8.781 kB / 0.8575 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004373/0.597, allocations: 124.4 kB / 0.8576 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.5982, allocations: 0.5328 MB / 0.8581 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.5999, allocations: 0.7695 MB / 0.8589 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005753/0.6005, allocations: 0.5808 MB / 0.8594 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003352/0.6008, allocations: 213.9 kB / 0.8596 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008241/0.6017, allocations: 464.1 kB / 0.8601 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004931/0.6022, allocations: 287.5 kB / 0.8604 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.362e-05/0.6022, allocations: 17.97 kB / 0.8604 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00151/0.6037, allocations: 0.9979 MB / 0.8613 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.6039, allocations: 87.62 kB / 0.8614 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.604, allocations: 127 kB / 0.8616 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009419/0.6049, allocations: 0.7065 MB / 0.8622 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.6049, allocations: 0 / 0.8622 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/0.605, allocations: 0 / 0.8622 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.605, allocations: 0 / 0.8622 GB, free: 10.33 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.0008995/0.6059, allocations: 0.5999 MB / 0.8628 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.6059, allocations: 7.781 kB / 0.8628 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.978e-05/0.606, allocations: 58.12 kB / 0.8629 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006246/0.6066, allocations: 83.42 kB / 0.863 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004107/0.607, allocations: 282.3 kB / 0.8632 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.6071, allocations: 21.22 kB / 0.8633 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.309e-05/0.6071, allocations: 20.06 kB / 0.8633 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004637/0.6076, allocations: 280.6 kB / 0.8635 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.6076, allocations: 3.938 kB / 0.8635 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.6076, allocations: 10.69 kB / 0.8636 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.6076, allocations: 8.5 kB / 0.8636 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004059/0.6081, allocations: 214.2 kB / 0.8638 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.6096, allocations: 1.24 MB / 0.865 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.6099, allocations: 171.7 kB / 0.8651 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.6101, allocations: 115.7 kB / 0.8653 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007327/0.6108, allocations: 337.5 kB / 0.8656 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.6109, allocations: 32.78 kB / 0.8656 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.6109, allocations: 0 / 0.8656 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0007246/0.6116, allocations: 280.3 kB / 0.8659 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.422e-05/0.6117, allocations: 156.2 kB / 0.866 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/0.612, allocations: 288 kB / 0.8663 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.612, allocations: 28.33 kB / 0.8663 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.6121, allocations: 151.9 kB / 0.8665 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.6122, allocations: 36.89 kB / 0.8665 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.909e-05/0.6123, allocations: 51.23 kB / 0.8666 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.6124, allocations: 339.7 kB / 0.8669 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.6126, allocations: 67.22 kB / 0.8669 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.6128, allocations: 154.8 kB / 0.8671 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003613/0.6132, allocations: 212.6 kB / 0.8673 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6132, allocations: 0 / 0.8673 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000475/0.6137, allocations: 242.8 kB / 0.8675 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.6137, allocations: 12.88 kB / 0.8675 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.6137, allocations: 4.375 kB / 0.8675 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.6137, allocations: 2.375 kB / 0.8675 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.6139, allocations: 36.17 kB / 0.8676 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.6139, allocations: 9.578 kB / 0.8676 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.6141, allocations: 29.75 kB / 0.8676 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.6142, allocations: 17.89 kB / 0.8676 GB, free: 5.73 MB / 0.5919 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.0001409/0.6143, allocations: 149.6 kB / 0.8678 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.6145, allocations: 24.12 kB / 0.8678 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004469/0.6149, allocations: 194 kB / 0.868 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.6149, allocations: 2.25 kB / 0.868 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.6149, allocations: 3.406 kB / 0.868 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6149, allocations: 0 / 0.868 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009678/0.6159, allocations: 0.8588 MB / 0.8688 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.6159, allocations: 0 / 0.8688 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.616, allocations: 25.7 kB / 0.8689 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.616, allocations: 6.375 kB / 0.8689 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.6161, allocations: 4.531 kB / 0.8689 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.6161, allocations: 6.125 kB / 0.8689 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.6161, allocations: 2.906 kB / 0.8689 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005461/0.6166, allocations: 341.4 kB / 0.8692 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.6167, allocations: 115 kB / 0.8693 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.6168, allocations: 6.484 kB / 0.8693 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.6169, allocations: 9.062 kB / 0.8693 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.617, allocations: 8.984 kB / 0.8693 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-06/0.617, allocations: 2.594 kB / 0.8693 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002249/0.6172, allocations: 238 kB / 0.8696 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.154e-06/0.6172, allocations: 0 / 0.8696 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004324/0.6177, allocations: 99.77 kB / 0.8697 GB, free: 4.031 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.001246/0.6189, allocations: 0.9752 MB / 0.8706 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003945/0.6193, allocations: 158.4 kB / 0.8708 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6194, allocations: 6.531 kB / 0.8708 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.6195, allocations: 59.31 kB / 0.8708 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007327/0.6202, allocations: 144.9 kB / 0.871 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/0.6236, allocations: 2.77 MB / 0.8737 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.624, allocations: 0.7585 MB / 0.8744 GB, free: 136 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002069/0.6242, allocations: 66.19 kB / 0.8745 GB, free: 108 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.6243, allocations: 82.56 kB / 0.8745 GB, free: 40 kB / 0.5919 GB Notification: Performance of SimCode: time 5.41e-07/0.6243, allocations: 0 / 0.8745 GB, free: 40 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03367/0.658, allocations: 8.564 MB / 0.8829 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.703/8.361, allocations: 15.12 kB / 0.8829 GB, free: 9.074 MB / 0.6075 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)