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.005224/0.005224, allocations: 94.98 kB / 15.73 MB, free: 6.039 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.001456/0.001456, allocations: 200.1 kB / 16.68 MB, free: 5.969 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002583/0.002583, allocations: 279 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9857/0.9857, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00258/0.00258, allocations: 95.89 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1593, allocations: 86.98 MB / 0.7659 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.4992/0.6585, allocations: 163.2 MB / 0.9253 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.00584/0.6644, allocations: 4.583 MB / 0.9298 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004384/0.6649, allocations: 7.938 kB / 0.9298 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0004573/0.6653, allocations: 123.1 kB / 0.9299 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.6667, allocations: 0.5406 MB / 0.9304 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.6685, allocations: 0.7722 MB / 0.9312 GB, free: 9.828 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0006792/0.6692, allocations: 0.5729 MB / 0.9318 GB, free: 9.254 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003558/0.6696, allocations: 213.2 kB / 0.932 GB, free: 9.047 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009085/0.6705, allocations: 462.2 kB / 0.9324 GB, free: 8.594 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005489/0.6711, allocations: 294.1 kB / 0.9327 GB, free: 8.309 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.546e-05/0.6711, allocations: 19.98 kB / 0.9327 GB, free: 8.289 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.6727, allocations: 0.9976 MB / 0.9337 GB, free: 7.289 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.6728, allocations: 95.7 kB / 0.9338 GB, free: 7.195 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.673, allocations: 123.4 kB / 0.9339 GB, free: 7.074 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.674, allocations: 0.7188 MB / 0.9346 GB, free: 6.355 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.674, allocations: 7.938 kB / 0.9346 GB, free: 6.348 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.002e-06/0.674, allocations: 0 / 0.9346 GB, free: 6.348 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.674, allocations: 0 / 0.9346 GB, free: 6.348 MB / 0.6856 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.000939/0.675, allocations: 0.6029 MB / 0.9352 GB, free: 5.695 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.675, allocations: 12.03 kB / 0.9352 GB, free: 5.684 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.454e-05/0.6751, allocations: 50.55 kB / 0.9352 GB, free: 5.625 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006164/0.6757, allocations: 79.69 kB / 0.9353 GB, free: 5.547 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000417/0.6761, allocations: 303.4 kB / 0.9356 GB, free: 5.211 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.6762, allocations: 19.95 kB / 0.9356 GB, free: 5.191 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.6762, allocations: 16 kB / 0.9356 GB, free: 5.176 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004986/0.6767, allocations: 287.5 kB / 0.9359 GB, free: 4.867 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.6768, allocations: 0 / 0.9359 GB, free: 4.867 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.6768, allocations: 8 kB / 0.9359 GB, free: 4.859 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.6768, allocations: 11.88 kB / 0.9359 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004306/0.6772, allocations: 203.7 kB / 0.9361 GB, free: 4.648 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.6788, allocations: 1.246 MB / 0.9373 GB, free: 3.32 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.6791, allocations: 172.9 kB / 0.9375 GB, free: 3.105 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/0.6793, allocations: 116.2 kB / 0.9376 GB, free: 2.977 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000708/0.68, allocations: 327.2 kB / 0.9379 GB, free: 2.602 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.6801, allocations: 46.67 kB / 0.938 GB, free: 2.547 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.6801, allocations: 0 / 0.938 GB, free: 2.547 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13): time 0.0007484/0.6809, allocations: 277.6 kB / 0.9382 GB, free: 2.27 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.599e-05/0.681, allocations: 162.2 kB / 0.9384 GB, free: 2.074 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.6813, allocations: 283 kB / 0.9387 GB, free: 1.793 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.6813, allocations: 29.7 kB / 0.9387 GB, free: 1.758 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.6814, allocations: 151.9 kB / 0.9388 GB, free: 1.605 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/0.6815, allocations: 51.59 kB / 0.9389 GB, free: 1.555 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.764e-05/0.6816, allocations: 45.73 kB / 0.9389 GB, free: 1.504 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.6817, allocations: 338.8 kB / 0.9393 GB, free: 1.164 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.6819, allocations: 63.95 kB / 0.9393 GB, free: 1.102 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.6821, allocations: 148.5 kB / 0.9395 GB, free: 0.9258 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003777/0.6825, allocations: 211.5 kB / 0.9397 GB, free: 0.6914 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.6825, allocations: 0 / 0.9397 GB, free: 0.6914 MB / 0.6856 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005033/0.683, allocations: 241.5 kB / 0.9399 GB, free: 460 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.6831, allocations: 8 kB / 0.9399 GB, free: 452 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.6831, allocations: 4 kB / 0.9399 GB, free: 448 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.6831, allocations: 0 / 0.9399 GB, free: 448 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.6833, allocations: 43.97 kB / 0.9399 GB, free: 404 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.128e-06/0.6833, allocations: 3.938 kB / 0.94 GB, free: 400 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.6835, allocations: 36.27 kB / 0.94 GB, free: 364 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/0.6835, allocations: 18.75 kB / 0.94 GB, free: 348 kB / 0.6856 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.0001431/0.6837, allocations: 145.8 kB / 0.9401 GB, free: 192 kB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.6838, allocations: 27.84 kB / 0.9402 GB, free: 164 kB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004714/0.6843, allocations: 194.3 kB / 0.9404 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.6843, allocations: 0 / 0.9404 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.6843, allocations: 4 kB / 0.9404 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.6843, allocations: 0 / 0.9404 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.6853, allocations: 0.8685 MB / 0.9412 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.6854, allocations: 0 / 0.9412 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.6855, allocations: 19.98 kB / 0.9412 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.6855, allocations: 7.938 kB / 0.9412 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.6855, allocations: 11.98 kB / 0.9412 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.6855, allocations: 0 / 0.9412 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.6855, allocations: 7.938 kB / 0.9413 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005658/0.6861, allocations: 335.6 kB / 0.9416 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 9.365e-05/0.6862, allocations: 117 kB / 0.9417 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/0.6862, allocations: 4 kB / 0.9417 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.6864, allocations: 11.98 kB / 0.9417 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.6864, allocations: 8 kB / 0.9417 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.6865, allocations: 4 kB / 0.9417 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002428/0.6867, allocations: 233.9 kB / 0.9419 GB, free: 14.22 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6867, allocations: 0 / 0.9419 GB, free: 14.22 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004221/0.6871, allocations: 99.8 kB / 0.942 GB, free: 14.12 MB / 0.7012 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.001243/0.6884, allocations: 1.002 MB / 0.943 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0003861/0.6888, allocations: 147.9 kB / 0.9431 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.6888, allocations: 4 kB / 0.9432 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.689, allocations: 63.52 kB / 0.9432 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007043/0.6897, allocations: 129.2 kB / 0.9433 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/0.6931, allocations: 2.773 MB / 0.946 GB, free: 9.836 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/0.6936, allocations: 0.7634 MB / 0.9468 GB, free: 9.047 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001864/0.6938, allocations: 64.25 kB / 0.9469 GB, free: 8.984 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.6939, allocations: 75.41 kB / 0.9469 GB, free: 8.91 MB / 0.7012 GB Notification: Performance of SimCode: time 2.1e-07/0.6939, allocations: 0 / 0.9469 GB, free: 8.91 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03279/0.7267, allocations: 8.614 MB / 0.9553 GB, free: 492 kB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.87/8.596, allocations: 4 kB / 0.9553 GB, free: 488 kB / 0.7012 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)