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.00114/0.00114, allocations: 108.5 kB / 16.41 MB, free: 6.484 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.001152/0.001152, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.278/1.278, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6815/0.6815, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 61.11 kB / 0.5572 GB, free: 32.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.146, allocations: 76.19 MB / 0.6316 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.5088/0.6548, allocations: 163.2 MB / 0.791 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007693/0.6626, allocations: 4.574 MB / 0.7955 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006371/0.6633, allocations: 11.5 kB / 0.7955 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006289/0.664, allocations: 123.1 kB / 0.7956 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001834/0.6659, allocations: 0.5411 MB / 0.7961 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002794/0.6687, allocations: 0.773 MB / 0.7969 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009335/0.6696, allocations: 0.5742 MB / 0.7974 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004712/0.6701, allocations: 216.6 kB / 0.7976 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001414/0.6715, allocations: 471 kB / 0.7981 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008288/0.6724, allocations: 284.4 kB / 0.7984 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.997e-05/0.6725, allocations: 16.09 kB / 0.7984 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002454/0.6749, allocations: 1.005 MB / 0.7994 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.6751, allocations: 88.09 kB / 0.7994 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002243/0.6753, allocations: 127.3 kB / 0.7996 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001813/0.6772, allocations: 0.7144 MB / 0.8003 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.6772, allocations: 0 / 0.8003 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.396e-06/0.6772, allocations: 0 / 0.8003 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.153e-05/0.6772, allocations: 1.094 kB / 0.8003 GB, free: 12.06 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.001443/0.6787, allocations: 0.5865 MB / 0.8008 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.6788, allocations: 12.73 kB / 0.8008 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.053e-05/0.6788, allocations: 55.59 kB / 0.8009 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.6799, allocations: 86.19 kB / 0.801 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000589/0.6805, allocations: 300.1 kB / 0.8013 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.6805, allocations: 18.23 kB / 0.8013 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.778e-05/0.6806, allocations: 22.12 kB / 0.8013 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006425/0.6813, allocations: 280.4 kB / 0.8016 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.6813, allocations: 6.594 kB / 0.8016 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.101e-05/0.6813, allocations: 3.5 kB / 0.8016 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.6813, allocations: 11.38 kB / 0.8016 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006144/0.682, allocations: 202.6 kB / 0.8018 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002324/0.6843, allocations: 1.24 MB / 0.803 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003703/0.6847, allocations: 168.4 kB / 0.8032 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.685, allocations: 118.4 kB / 0.8033 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001198/0.6862, allocations: 338 kB / 0.8036 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.6863, allocations: 35.7 kB / 0.8036 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 2.174e-06/0.6863, allocations: 0 / 0.8036 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.001116/0.6874, allocations: 280.5 kB / 0.8039 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.6875, allocations: 163.2 kB / 0.804 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003849/0.6879, allocations: 281.8 kB / 0.8043 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/0.688, allocations: 29.33 kB / 0.8043 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.6881, allocations: 151.8 kB / 0.8045 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.351e-05/0.6882, allocations: 46.8 kB / 0.8045 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.6883, allocations: 49.3 kB / 0.8046 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.6885, allocations: 340.6 kB / 0.8049 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.6888, allocations: 64.8 kB / 0.805 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.6891, allocations: 146.9 kB / 0.8051 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005514/0.6897, allocations: 208.2 kB / 0.8053 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.6897, allocations: 0 / 0.8053 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007983/0.6905, allocations: 246.5 kB / 0.8055 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.6906, allocations: 4.719 kB / 0.8055 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.6906, allocations: 1.969 kB / 0.8055 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.6906, allocations: 2.688 kB / 0.8055 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.6909, allocations: 46.06 kB / 0.8056 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.6909, allocations: 1.781 kB / 0.8056 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/0.6913, allocations: 26.11 kB / 0.8056 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.442e-05/0.6913, allocations: 17.69 kB / 0.8056 GB, free: 8.633 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.0002197/0.6916, allocations: 152.9 kB / 0.8058 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002606/0.6918, allocations: 24.56 kB / 0.8058 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006455/0.6925, allocations: 189.4 kB / 0.806 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.6925, allocations: 4.031 kB / 0.806 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.6925, allocations: 2.125 kB / 0.806 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.6925, allocations: 6.172 kB / 0.806 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.694, allocations: 0.8587 MB / 0.8068 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.694, allocations: 2.469 kB / 0.8068 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.6942, allocations: 27.16 kB / 0.8069 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-06/0.6943, allocations: 6.844 kB / 0.8069 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.6943, allocations: 2.375 kB / 0.8069 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.6943, allocations: 2.406 kB / 0.8069 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.6943, allocations: 2.969 kB / 0.8069 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007879/0.6951, allocations: 341.3 kB / 0.8072 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.6953, allocations: 116.4 kB / 0.8073 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.46e-05/0.6954, allocations: 6.562 kB / 0.8073 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.6956, allocations: 8.797 kB / 0.8073 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.6957, allocations: 12.05 kB / 0.8073 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.6957, allocations: 10.41 kB / 0.8074 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003132/0.696, allocations: 235.2 kB / 0.8076 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/0.696, allocations: 0 / 0.8076 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007767/0.6968, allocations: 90.06 kB / 0.8077 GB, free: 7.168 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.001746/0.6986, allocations: 0.9876 MB / 0.8086 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005728/0.6992, allocations: 149.1 kB / 0.8088 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.6992, allocations: 6.156 kB / 0.8088 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000214/0.6994, allocations: 59.36 kB / 0.8088 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.7006, allocations: 142.4 kB / 0.809 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005117/0.7058, allocations: 2.763 MB / 0.8117 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004655/0.7063, allocations: 0.7607 MB / 0.8124 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003051/0.7066, allocations: 62.22 kB / 0.8125 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.7067, allocations: 77 kB / 0.8125 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of SimCode: time 1.673e-06/0.7068, allocations: 0 / 0.8125 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03713/0.7439, allocations: 8.717 MB / 0.8211 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.781/8.525, allocations: 17.53 kB / 0.8211 GB, free: 15.27 MB / 0.6075 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)