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.00162/0.00162, allocations: 105.2 kB / 16.4 MB, free: 6.496 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.001699/0.001699, 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6839/0.6839, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 64.08 kB / 0.5572 GB, free: 32.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1461, 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.5267/0.6728, allocations: 163.2 MB / 0.791 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005357/0.6782, allocations: 4.581 MB / 0.7955 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005206/0.6788, allocations: 9.875 kB / 0.7955 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005486/0.6794, allocations: 130.5 kB / 0.7956 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001658/0.6811, allocations: 0.5291 MB / 0.7961 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.6831, allocations: 0.7726 MB / 0.7969 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008225/0.684, allocations: 0.579 MB / 0.7974 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004333/0.6844, allocations: 219.5 kB / 0.7976 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00114/0.6856, allocations: 462.9 kB / 0.7981 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006821/0.6863, allocations: 294.5 kB / 0.7984 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.643e-05/0.6863, allocations: 19.41 kB / 0.7984 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/0.688, allocations: 1.001 MB / 0.7993 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.6882, allocations: 87.39 kB / 0.7994 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002279/0.6884, allocations: 125.3 kB / 0.7996 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001659/0.6901, allocations: 0.7103 MB / 0.8002 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.6901, allocations: 0 / 0.8002 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6901, allocations: 3.938 kB / 0.8002 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.396e-05/0.6901, allocations: 0 / 0.8002 GB, free: 12.53 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.001446/0.6916, allocations: 0.5988 MB / 0.8008 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.6916, allocations: 10.94 kB / 0.8008 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.989e-05/0.6917, allocations: 49.84 kB / 0.8009 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007103/0.6924, allocations: 80.33 kB / 0.801 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004912/0.6929, allocations: 301.9 kB / 0.8013 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.693, allocations: 21.42 kB / 0.8013 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.025e-05/0.693, allocations: 21.47 kB / 0.8013 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004747/0.6935, allocations: 283.4 kB / 0.8016 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.6935, allocations: 0 / 0.8016 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.6935, allocations: 9.406 kB / 0.8016 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.6936, allocations: 8.25 kB / 0.8016 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000412/0.694, allocations: 204.6 kB / 0.8018 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001711/0.6957, allocations: 1.234 MB / 0.803 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.696, allocations: 181.3 kB / 0.8032 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.6962, allocations: 112.2 kB / 0.8033 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007366/0.697, allocations: 331.2 kB / 0.8036 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.697, allocations: 37.47 kB / 0.8036 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.697, allocations: 0 / 0.8036 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0007425/0.6977, allocations: 279.3 kB / 0.8039 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.792e-05/0.6978, allocations: 160 kB / 0.804 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.6981, allocations: 285.3 kB / 0.8043 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.6981, allocations: 32.86 kB / 0.8043 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.6982, allocations: 151.4 kB / 0.8045 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.6983, allocations: 43.8 kB / 0.8045 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.515e-05/0.6984, allocations: 39.11 kB / 0.8046 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.6985, allocations: 344.3 kB / 0.8049 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.6987, allocations: 64.55 kB / 0.805 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.6989, allocations: 141.4 kB / 0.8051 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/0.6993, allocations: 217.4 kB / 0.8053 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6993, allocations: 2.531 kB / 0.8053 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004908/0.6998, allocations: 240.5 kB / 0.8055 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.6998, allocations: 12.7 kB / 0.8055 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.6998, allocations: 6.781 kB / 0.8055 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.6998, allocations: 6.406 kB / 0.8056 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.7, allocations: 35.28 kB / 0.8056 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.7, allocations: 2.656 kB / 0.8056 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.7002, allocations: 36.2 kB / 0.8056 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.7003, allocations: 14.03 kB / 0.8056 GB, free: 9.098 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.0001303/0.7004, allocations: 149.7 kB / 0.8058 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.7006, allocations: 28.22 kB / 0.8058 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004512/0.701, allocations: 184.9 kB / 0.806 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.7011, allocations: 2.25 kB / 0.806 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.7011, allocations: 4.203 kB / 0.806 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.7011, allocations: 8.016 kB / 0.806 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009658/0.702, allocations: 0.86 MB / 0.8068 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.7021, allocations: 2.469 kB / 0.8068 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.7022, allocations: 26.12 kB / 0.8069 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.7022, allocations: 7.438 kB / 0.8069 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.7022, allocations: 2.406 kB / 0.8069 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.7022, allocations: 3.938 kB / 0.8069 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.7022, allocations: 2.094 kB / 0.8069 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005579/0.7028, allocations: 344.3 kB / 0.8072 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.7029, allocations: 114 kB / 0.8073 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.938e-05/0.703, allocations: 10.22 kB / 0.8073 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.7031, allocations: 12.52 kB / 0.8073 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.7032, allocations: 6.734 kB / 0.8073 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.7032, allocations: 7.938 kB / 0.8073 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002076/0.7034, allocations: 232.5 kB / 0.8076 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7034, allocations: 0 / 0.8076 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004795/0.7039, allocations: 92.78 kB / 0.8077 GB, free: 7.633 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.001269/0.7052, allocations: 0.9883 MB / 0.8086 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003817/0.7056, allocations: 151 kB / 0.8088 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.7056, allocations: 0 / 0.8088 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.7057, allocations: 66.98 kB / 0.8088 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007691/0.7065, allocations: 135.1 kB / 0.809 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/0.7098, allocations: 2.76 MB / 0.8117 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.7101, allocations: 0.7587 MB / 0.8124 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002019/0.7103, allocations: 65.94 kB / 0.8125 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.7104, allocations: 75.38 kB / 0.8125 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of SimCode: time 7.81e-07/0.7104, allocations: 0 / 0.8125 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02895/0.7394, allocations: 8.727 MB / 0.8211 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.83/8.569, allocations: 13.56 kB / 0.8211 GB, free: 15.72 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)