Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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: translateModel(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h") translateModel(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001607/0.001607, allocations: 193.4 kB / 16.14 MB, free: 6.707 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.32/1.32, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002058/0.002058, allocations: 290.9 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9495/0.9495, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 89.78 kB / 0.5945 GB, free: 28.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1813, allocations: 86.98 MB / 0.6794 GB, free: 1.184 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.5575/0.7388, allocations: 173.7 MB / 0.8491 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01154/0.7504, allocations: 8.703 MB / 0.8576 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.7517, allocations: 19.84 kB / 0.8576 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009546/0.7527, allocations: 242.7 kB / 0.8578 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008969/0.7536, allocations: 294.9 kB / 0.8581 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.7547, allocations: 334.7 kB / 0.8584 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00164/0.7563, allocations: 1.618 MB / 0.86 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007859/0.7571, allocations: 0.504 MB / 0.8605 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005739/0.7629, allocations: 1.925 MB / 0.8624 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005622/0.7634, allocations: 370 kB / 0.8627 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.356e-05/0.7635, allocations: 29.09 kB / 0.8628 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002438/0.7638, allocations: 68.03 kB / 0.8628 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000253/0.764, allocations: 249.1 kB / 0.8631 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003003/0.7643, allocations: 268.5 kB / 0.8633 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006232/0.765, allocations: 0.5941 MB / 0.8639 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.765, allocations: 0 / 0.8639 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.41e-07/0.765, allocations: 0 / 0.8639 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.765, allocations: 2.625 kB / 0.8639 GB, free: 2.742 MB / 0.5762 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.001273/0.7663, allocations: 0.8278 MB / 0.8647 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.7664, allocations: 14.09 kB / 0.8647 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.7665, allocations: 67.59 kB / 0.8648 GB, free: 2 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005826/0.7671, allocations: 423.1 kB / 0.8652 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.888e-05/0.7671, allocations: 37.88 kB / 0.8652 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.82e-05/0.7672, allocations: 51.25 kB / 0.8653 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.7682, allocations: 0.7047 MB / 0.866 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.7683, allocations: 3.938 kB / 0.866 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.494e-05/0.7683, allocations: 23.78 kB / 0.866 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.692e-05/0.7684, allocations: 34.08 kB / 0.866 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006147/0.769, allocations: 385.9 kB / 0.8664 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002763/0.7718, allocations: 3.213 MB / 0.8695 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.7721, allocations: 226 kB / 0.8697 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.7723, allocations: 128.7 kB / 0.8699 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.7723, allocations: 7.219 kB / 0.8699 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.7723, allocations: 41.25 kB / 0.8699 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.7724, allocations: 3.938 kB / 0.8699 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006712/0.773, allocations: 253 kB / 0.8702 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/0.7732, allocations: 290.8 kB / 0.8704 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007515/0.7739, allocations: 0.6903 MB / 0.8711 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.774, allocations: 28.42 kB / 0.8711 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.7742, allocations: 268.7 kB / 0.8714 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.7742, allocations: 32.45 kB / 0.8714 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-05/0.7743, allocations: 28.47 kB / 0.8715 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.7745, allocations: 365.4 kB / 0.8718 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.7746, allocations: 36.38 kB / 0.8718 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.7748, allocations: 102.6 kB / 0.8719 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.775, allocations: 130.6 kB / 0.8721 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.775, allocations: 3.25 kB / 0.8721 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000329/0.7754, allocations: 188 kB / 0.8722 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.7754, allocations: 8.875 kB / 0.8723 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.7754, allocations: 8.375 kB / 0.8723 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.7754, allocations: 6.938 kB / 0.8723 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.7757, allocations: 37.11 kB / 0.8723 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.7757, allocations: 2.75 kB / 0.8723 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.7759, allocations: 58.7 kB / 0.8724 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/0.776, allocations: 19.83 kB / 0.8724 GB, free: 11.52 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.0002046/0.7762, allocations: 197.3 kB / 0.8726 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/0.7764, allocations: 57.34 kB / 0.8726 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.861e-05/0.7765, allocations: 69.34 kB / 0.8727 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.7765, allocations: 2.781 kB / 0.8727 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.7765, allocations: 3.281 kB / 0.8727 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.7765, allocations: 9.234 kB / 0.8727 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.7779, allocations: 1.302 MB / 0.874 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.7779, allocations: 6.688 kB / 0.874 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.7781, allocations: 43.14 kB / 0.874 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.7781, allocations: 2.5 kB / 0.874 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.7781, allocations: 2.75 kB / 0.874 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.7781, allocations: 2.562 kB / 0.874 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.7781, allocations: 4.688 kB / 0.874 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003754/0.7785, allocations: 343.4 kB / 0.8744 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.7787, allocations: 146.9 kB / 0.8745 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.973e-05/0.7787, allocations: 9.812 kB / 0.8745 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.7789, allocations: 13.77 kB / 0.8745 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.779, allocations: 20.8 kB / 0.8745 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-06/0.779, allocations: 5.281 kB / 0.8745 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005144/0.7795, allocations: 0.4935 MB / 0.875 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7795, allocations: 0 / 0.875 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003848/0.7799, allocations: 80.5 kB / 0.8751 GB, free: 9.297 MB / 0.5919 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.0003443/0.7803, allocations: 142.9 kB / 0.8752 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003238/0.7806, allocations: 106.5 kB / 0.8753 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.7806, allocations: 2.906 kB / 0.8753 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.7808, allocations: 65.14 kB / 0.8754 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.7821, allocations: 267.1 kB / 0.8757 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.7834, allocations: 1.004 MB / 0.8766 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.7838, allocations: 0.9022 MB / 0.8775 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002408/0.7841, allocations: 107.3 kB / 0.8776 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.595e-05/0.7842, allocations: 34.97 kB / 0.8777 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/0.7842, allocations: 4 kB / 0.8777 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of Templates: time 0.01666/0.8008, allocations: 8.049 MB / 0.8855 GB, free: 3.5 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)