Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.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.Sources.Examples.PropertySource_h,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h",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.001265/0.001265, allocations: 97.83 kB / 16.4 MB, free: 6.488 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.001181/0.001181, allocations: 195.8 kB / 17.34 MB, free: 5.754 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7138/0.7138, allocations: 115.3 MB / 406.5 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 65.19 kB / 0.5572 GB, free: 32.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1415, allocations: 76.18 MB / 0.6316 GB, free: 4.922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.PropertySource_h): time 0.5843/0.7258, allocations: 176 MB / 0.8034 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008856/0.7347, allocations: 8.721 MB / 0.8119 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.7358, allocations: 20.91 kB / 0.812 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008795/0.7368, allocations: 296.3 kB / 0.8122 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0008626/0.7377, allocations: 303.4 kB / 0.8125 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.7389, allocations: 374.6 kB / 0.8129 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001199/0.7401, allocations: 1.147 MB / 0.814 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007352/0.7408, allocations: 0.5936 MB / 0.8146 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005384/0.7462, allocations: 2.068 MB / 0.8166 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004632/0.7467, allocations: 345.9 kB / 0.8169 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.905e-05/0.7468, allocations: 40.72 kB / 0.817 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000224/0.747, allocations: 84.75 kB / 0.8171 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002237/0.7473, allocations: 258.6 kB / 0.8173 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000252/0.7475, allocations: 281.2 kB / 0.8176 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006684/0.7482, allocations: 0.6332 MB / 0.8182 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.7482, allocations: 0 / 0.8182 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7482, allocations: 0 / 0.8182 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.7482, allocations: 0 / 0.8182 GB, free: 8.672 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001068/0.7493, allocations: 0.8197 MB / 0.819 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.7494, allocations: 9.562 kB / 0.819 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.73e-05/0.7495, allocations: 98.23 kB / 0.8191 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.7496, allocations: 76 kB / 0.8192 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007072/0.7503, allocations: 441.1 kB / 0.8196 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.607e-05/0.7503, allocations: 46.22 kB / 0.8196 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.174e-05/0.7504, allocations: 58.55 kB / 0.8197 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009362/0.7513, allocations: 0.7074 MB / 0.8204 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.7514, allocations: 6.562 kB / 0.8204 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.887e-05/0.7514, allocations: 20.69 kB / 0.8204 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.035e-05/0.7515, allocations: 34.55 kB / 0.8204 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005624/0.752, allocations: 373.2 kB / 0.8208 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002468/0.7545, allocations: 3.208 MB / 0.8239 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.7548, allocations: 216 kB / 0.8241 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.755, allocations: 126.6 kB / 0.8242 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.755, allocations: 19.45 kB / 0.8243 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.7551, allocations: 43.38 kB / 0.8243 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 3.006e-06/0.7551, allocations: 0 / 0.8243 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006574/0.7557, allocations: 254.2 kB / 0.8245 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.7559, allocations: 290.4 kB / 0.8248 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006848/0.7566, allocations: 0.6909 MB / 0.8255 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.7566, allocations: 25.7 kB / 0.8255 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.7568, allocations: 268.8 kB / 0.8258 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.7569, allocations: 38.83 kB / 0.8258 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/0.7569, allocations: 26.75 kB / 0.8258 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.7571, allocations: 370.1 kB / 0.8262 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.7572, allocations: 35.88 kB / 0.8262 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.7574, allocations: 96.38 kB / 0.8263 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.7576, allocations: 129.7 kB / 0.8264 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.7576, allocations: 0 / 0.8264 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00034/0.758, allocations: 187.5 kB / 0.8266 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.758, allocations: 13.31 kB / 0.8266 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.758, allocations: 3.938 kB / 0.8266 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.7581, allocations: 3.562 kB / 0.8266 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.7583, allocations: 39.61 kB / 0.8267 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.7583, allocations: 0 / 0.8267 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/0.7585, allocations: 56.77 kB / 0.8267 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.7585, allocations: 12.06 kB / 0.8267 GB, free: 1.422 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (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 prepare postOptimizeDAE: time 0.000199/0.7587, allocations: 201.7 kB / 0.8269 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002096/0.759, allocations: 61.52 kB / 0.827 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.137e-05/0.759, allocations: 65.52 kB / 0.8271 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.7591, allocations: 2.375 kB / 0.8271 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.7591, allocations: 2.844 kB / 0.8271 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.84e-06/0.7591, allocations: 4.781 kB / 0.8271 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.7604, allocations: 1.3 MB / 0.8283 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.7604, allocations: 2.625 kB / 0.8283 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.7606, allocations: 47.92 kB / 0.8284 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.7606, allocations: 3.594 kB / 0.8284 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.7607, allocations: 2.094 kB / 0.8284 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.7607, allocations: 9.234 kB / 0.8284 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.7607, allocations: 2.75 kB / 0.8284 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/0.761, allocations: 341.2 kB / 0.8287 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.7612, allocations: 146.7 kB / 0.8289 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.033e-05/0.7613, allocations: 9.094 kB / 0.8289 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.7614, allocations: 16.95 kB / 0.8289 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.7615, allocations: 16.95 kB / 0.8289 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.7615, allocations: 7.281 kB / 0.8289 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004882/0.762, allocations: 0.4931 MB / 0.8294 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.762, allocations: 0 / 0.8294 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003606/0.7624, allocations: 80.56 kB / 0.8295 GB, free: 15.2 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 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.0008709/0.7632, allocations: 0.9075 MB / 0.8304 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003116/0.7636, allocations: 116.7 kB / 0.8305 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7636, allocations: 0 / 0.8305 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.7637, allocations: 61.09 kB / 0.8305 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.765, allocations: 276.7 kB / 0.8308 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004906/0.7699, allocations: 4.434 MB / 0.8351 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.7703, allocations: 0.9077 MB / 0.836 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002587/0.7706, allocations: 103.2 kB / 0.8361 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.7708, allocations: 166.9 kB / 0.8363 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of SimCode: time 8.51e-07/0.7708, allocations: 2.844 kB / 0.8363 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0343/0.8051, allocations: 13.8 MB / 0.8498 GB, free: 104 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.303/9.109, allocations: 3.938 kB / 0.8498 GB, free: 100 kB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)