Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IBPSA_latest_IBPSA_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.001088/0.001088, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.001115/0.001115, allocations: 192 kB / 17.2 MB, free: 5.598 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.292/1.292, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7388/0.7388, allocations: 122.9 MB / 413.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.001391, allocations: 67.89 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3143, allocations: 77.92 MB / 0.5673 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.164/0.4783, allocations: 163.2 MB / 0.7267 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005852/0.4842, allocations: 4.569 MB / 0.7311 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004824/0.4847, allocations: 11.94 kB / 0.7312 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005722/0.4853, allocations: 127 kB / 0.7313 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001629/0.4871, allocations: 0.5406 MB / 0.7318 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00192/0.489, allocations: 0.7628 MB / 0.7325 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009212/0.4899, allocations: 0.5729 MB / 0.7331 GB, free: 468 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005086/0.4904, allocations: 217.1 kB / 0.7333 GB, free: 252 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.4915, allocations: 470.2 kB / 0.7338 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005779/0.4921, allocations: 286.9 kB / 0.734 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.747e-05/0.4921, allocations: 20 kB / 0.7341 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001678/0.4938, allocations: 1.002 MB / 0.735 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.4939, allocations: 87.72 kB / 0.7351 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.4941, allocations: 127.4 kB / 0.7352 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.4953, allocations: 0.7051 MB / 0.7359 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.4953, allocations: 0 / 0.7359 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4953, allocations: 4 kB / 0.7359 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.4954, allocations: 4 kB / 0.7359 GB, free: 13.55 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.0009283/0.4963, allocations: 0.5935 MB / 0.7365 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.4963, allocations: 12.62 kB / 0.7365 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.707e-05/0.4964, allocations: 54.53 kB / 0.7366 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006548/0.4971, allocations: 75.59 kB / 0.7366 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003768/0.4975, allocations: 283.3 kB / 0.7369 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.4975, allocations: 23.94 kB / 0.7369 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.4975, allocations: 16 kB / 0.737 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004808/0.498, allocations: 291.4 kB / 0.7372 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.498, allocations: 3.938 kB / 0.7372 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.4981, allocations: 7.938 kB / 0.7372 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.4981, allocations: 8 kB / 0.7373 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004229/0.4985, allocations: 207.5 kB / 0.7375 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001638/0.5002, allocations: 1.238 MB / 0.7387 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.5005, allocations: 172.9 kB / 0.7388 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.5007, allocations: 116.2 kB / 0.7389 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007769/0.5015, allocations: 335.3 kB / 0.7393 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.5015, allocations: 42.5 kB / 0.7393 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.5015, allocations: 0 / 0.7393 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007686/0.5023, allocations: 277.1 kB / 0.7396 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.129e-05/0.5024, allocations: 162.2 kB / 0.7397 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.5027, allocations: 283 kB / 0.74 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.5027, allocations: 29.7 kB / 0.74 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.5028, allocations: 148.3 kB / 0.7402 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.5029, allocations: 51.3 kB / 0.7402 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.306e-05/0.5029, allocations: 41.7 kB / 0.7402 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.5031, allocations: 338.8 kB / 0.7406 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.5032, allocations: 63.95 kB / 0.7406 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.5035, allocations: 152.4 kB / 0.7408 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003671/0.5039, allocations: 215.5 kB / 0.741 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5039, allocations: 0 / 0.741 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004994/0.5044, allocations: 241.2 kB / 0.7412 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.5044, allocations: 10.03 kB / 0.7412 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.5044, allocations: 4 kB / 0.7412 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.5044, allocations: 4 kB / 0.7412 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.5046, allocations: 43.91 kB / 0.7413 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.5046, allocations: 4 kB / 0.7413 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.5048, allocations: 31.67 kB / 0.7413 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/0.5049, allocations: 12.16 kB / 0.7413 GB, free: 7.574 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.0001374/0.505, allocations: 153.8 kB / 0.7415 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.5052, allocations: 23.72 kB / 0.7415 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004891/0.5057, allocations: 190.1 kB / 0.7417 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.5057, allocations: 0 / 0.7417 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.5057, allocations: 4 kB / 0.7417 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.5057, allocations: 7.922 kB / 0.7417 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009695/0.5067, allocations: 0.8472 MB / 0.7425 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5067, allocations: 0 / 0.7425 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.5068, allocations: 27.91 kB / 0.7425 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.5068, allocations: 4 kB / 0.7425 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.5068, allocations: 8 kB / 0.7425 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.5068, allocations: 8.094 kB / 0.7425 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.5068, allocations: 0 / 0.7425 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005505/0.5074, allocations: 337.7 kB / 0.7429 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.145e-05/0.5075, allocations: 116.7 kB / 0.743 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.792e-05/0.5076, allocations: 8.125 kB / 0.743 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.5077, allocations: 11.98 kB / 0.743 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.5078, allocations: 11.98 kB / 0.743 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.5078, allocations: 4 kB / 0.743 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002369/0.508, allocations: 238 kB / 0.7432 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.495e-06/0.508, allocations: 0 / 0.7432 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004405/0.5085, allocations: 95.94 kB / 0.7433 GB, free: 5.355 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.001197/0.5097, allocations: 0.9884 MB / 0.7443 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003955/0.5101, allocations: 151.8 kB / 0.7444 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5101, allocations: 3.938 kB / 0.7444 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.5103, allocations: 64.7 kB / 0.7445 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00076/0.511, allocations: 133 kB / 0.7446 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003242/0.5143, allocations: 2.769 MB / 0.7473 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.5146, allocations: 0.7558 MB / 0.7481 GB, free: 280 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001991/0.5148, allocations: 65.62 kB / 0.7481 GB, free: 220 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.5149, allocations: 79.41 kB / 0.7482 GB, free: 144 kB / 0.5762 GB Notification: Performance of SimCode: time 4.41e-07/0.5149, allocations: 0 / 0.7482 GB, free: 144 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2318/0.7467, allocations: 8.521 MB / 0.7565 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.412/8.159, allocations: 8.812 kB / 0.7565 GB, free: 171.3 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)