Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_T.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_T,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_T",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.001266/0.001266, allocations: 109.8 kB / 16.41 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.001193/0.001193, allocations: 189.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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8254/0.8254, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 64.8 kB / 0.5735 GB, free: 27.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1284, allocations: 78.86 MB / 0.6505 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.PropertySource_T): time 0.4878/0.6162, allocations: 194.1 MB / 0.8401 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01232/0.6286, allocations: 10.05 MB / 0.8499 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000701/0.6293, allocations: 29.47 kB / 0.85 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009105/0.6303, allocations: 395.7 kB / 0.8504 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00229/0.6326, allocations: 1.009 MB / 0.8513 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002738/0.6353, allocations: 1.299 MB / 0.8526 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001621/0.637, allocations: 1.683 MB / 0.8542 GB, free: 304 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.638, allocations: 0.8279 MB / 0.8551 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00303/0.641, allocations: 1.643 MB / 0.8567 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005678/0.6416, allocations: 0.5051 MB / 0.8572 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 8.627e-05/0.6417, allocations: 66.75 kB / 0.8572 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002103/0.6438, allocations: 1.392 MB / 0.8586 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003181/0.6442, allocations: 346 kB / 0.8589 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004083/0.6446, allocations: 440.3 kB / 0.8593 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001935/0.6465, allocations: 1.517 MB / 0.8608 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.6465, allocations: 4 kB / 0.8608 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6465, allocations: 0 / 0.8608 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.6466, allocations: 0 / 0.8608 GB, free: 11.86 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.001592/0.6482, allocations: 1.171 MB / 0.862 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.6482, allocations: 12.03 kB / 0.862 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001409/0.6483, allocations: 114.6 kB / 0.8621 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/0.6501, allocations: 307 kB / 0.8624 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009589/0.6511, allocations: 0.5745 MB / 0.8629 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.688e-05/0.6511, allocations: 57.61 kB / 0.863 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.6512, allocations: 76 kB / 0.8631 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.6527, allocations: 0.8986 MB / 0.8639 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.6527, allocations: 4 kB / 0.8639 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.446e-05/0.6528, allocations: 28 kB / 0.864 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.913e-05/0.6529, allocations: 45.23 kB / 0.864 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.654, allocations: 0.5748 MB / 0.8646 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003788/0.6577, allocations: 3.491 MB / 0.868 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004018/0.6582, allocations: 223.6 kB / 0.8682 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002744/0.6584, allocations: 146.5 kB / 0.8683 GB, free: 3.77 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008199/0.6593, allocations: 489.4 kB / 0.8688 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.6593, allocations: 38.5 kB / 0.8688 GB, free: 3.152 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=21): time 3.417e-06/0.6593, allocations: 3.984 kB / 0.8688 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of matching and sorting (n=21): time 0.001259/0.6606, allocations: 458.5 kB / 0.8693 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.968e-05/0.6607, allocations: 106.8 kB / 0.8694 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.6618, allocations: 0.8683 MB / 0.8702 GB, free: 1.688 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.6619, allocations: 29.7 kB / 0.8703 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003292/0.6622, allocations: 384.2 kB / 0.8706 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.901e-05/0.6623, allocations: 87.31 kB / 0.8707 GB, free: 1.188 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.6624, allocations: 65.64 kB / 0.8708 GB, free: 1.117 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.6626, allocations: 318 kB / 0.8711 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/0.6628, allocations: 103.9 kB / 0.8712 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003337/0.6631, allocations: 211 kB / 0.8714 GB, free: 464 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005548/0.6637, allocations: 320.6 kB / 0.8717 GB, free: 104 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.6637, allocations: 0 / 0.8717 GB, free: 104 kB / 0.6231 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007492/0.6645, allocations: 398.7 kB / 0.8721 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.6645, allocations: 8.344 kB / 0.8721 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.6645, allocations: 7.938 kB / 0.8721 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.6645, allocations: 4 kB / 0.8721 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000307/0.6648, allocations: 63.91 kB / 0.8721 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.6649, allocations: 7.938 kB / 0.8721 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004469/0.6653, allocations: 79.34 kB / 0.8722 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.175e-05/0.6654, allocations: 18.89 kB / 0.8722 GB, free: 15.52 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (32): * Single equations (assignments): 32 * 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.0002827/0.6657, allocations: 229.6 kB / 0.8725 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.6658, allocations: 79.48 kB / 0.8725 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006684/0.6665, allocations: 331.3 kB / 0.8728 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.6665, allocations: 4 kB / 0.8729 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6665, allocations: 0 / 0.8729 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.6665, allocations: 3.984 kB / 0.8729 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.6686, allocations: 1.361 MB / 0.8742 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.6686, allocations: 7.375 kB / 0.8742 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/0.6688, allocations: 47.91 kB / 0.8742 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.6688, allocations: 8.469 kB / 0.8742 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/0.6688, allocations: 16 kB / 0.8743 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.672e-06/0.6689, allocations: 7.938 kB / 0.8743 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/0.6689, allocations: 11.92 kB / 0.8743 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007143/0.6696, allocations: 0.5139 MB / 0.8748 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002302/0.6698, allocations: 192.5 kB / 0.875 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.974e-05/0.6699, allocations: 11.88 kB / 0.875 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003376/0.6703, allocations: 19.98 kB / 0.875 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/0.6703, allocations: 27.86 kB / 0.875 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.6704, allocations: 12 kB / 0.875 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000797/0.6712, allocations: 0.6122 MB / 0.8756 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6712, allocations: 0 / 0.8756 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005476/0.6717, allocations: 163.8 kB / 0.8758 GB, free: 11.68 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (21): * Single equations (assignments): 21 * 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.001286/0.673, allocations: 1.135 MB / 0.8769 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000597/0.6736, allocations: 279 kB / 0.8772 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6737, allocations: 0 / 0.8772 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002788/0.6739, allocations: 137.1 kB / 0.8773 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/0.6758, allocations: 424.4 kB / 0.8777 GB, free: 9.664 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007855/0.6837, allocations: 5.993 MB / 0.8836 GB, free: 3.352 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006288/0.6843, allocations: 0.9955 MB / 0.8845 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004614/0.6848, allocations: 154.2 kB / 0.8847 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000359/0.6851, allocations: 271.4 kB / 0.8849 GB, free: 1.91 MB / 0.6387 GB Notification: Performance of SimCode: time 3.4e-07/0.6852, allocations: 0 / 0.8849 GB, free: 1.91 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04733/0.7325, allocations: 20.75 MB / 0.9052 GB, free: 13.46 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.048/9.78, allocations: 18.94 kB / 0.9052 GB, free: 13.45 MB / 0.67 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_T.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_T_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_T.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1)