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.001527/0.001527, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001462/0.001463, allocations: 194.2 kB / 16.25 MB, free: 6.629 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.542/1.542, allocations: 222.9 MB / 239.9 MB, free: 4.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002491/0.002491, allocations: 298.8 kB / 290.4 MB, free: 2.062 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.106/1.106, allocations: 178.6 MB / 0.5069 GB, free: 4.715 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004186/0.004186, allocations: 98.69 kB / 0.6059 GB, free: 25.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1723, allocations: 89.16 MB / 0.693 GB, free: 4.691 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.5282/0.7006, allocations: 173.6 MB / 0.8625 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01145/0.7121, allocations: 8.63 MB / 0.871 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008526/0.713, allocations: 18.06 kB / 0.871 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008636/0.7138, allocations: 254.7 kB / 0.8712 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0008329/0.7147, allocations: 282.3 kB / 0.8715 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.7158, allocations: 337 kB / 0.8718 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00126/0.7171, allocations: 1.156 MB / 0.8729 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000758/0.7179, allocations: 0.5522 MB / 0.8735 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005286/0.7232, allocations: 2 MB / 0.8754 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005892/0.7238, allocations: 372.9 kB / 0.8758 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.565e-05/0.7238, allocations: 40.12 kB / 0.8758 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.7241, allocations: 83.89 kB / 0.8759 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000262/0.7244, allocations: 261.4 kB / 0.8762 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002886/0.7247, allocations: 282.6 kB / 0.8764 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007/0.7254, allocations: 0.607 MB / 0.877 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.7254, allocations: 2.719 kB / 0.877 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7254, allocations: 0 / 0.877 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.7254, allocations: 0 / 0.877 GB, free: 14.47 MB / 0.6075 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.001108/0.7265, allocations: 0.8233 MB / 0.8778 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.7266, allocations: 7.781 kB / 0.8778 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.7267, allocations: 74.22 kB / 0.8779 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005548/0.7272, allocations: 412.7 kB / 0.8783 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.852e-05/0.7273, allocations: 43.92 kB / 0.8783 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.474e-05/0.7274, allocations: 51.28 kB / 0.8784 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.7284, allocations: 0.7131 MB / 0.8791 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.7284, allocations: 2.5 kB / 0.8791 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.194e-05/0.7285, allocations: 27.89 kB / 0.8791 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.324e-05/0.7285, allocations: 34.3 kB / 0.8791 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006109/0.7291, allocations: 375.1 kB / 0.8795 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002966/0.7321, allocations: 3.226 MB / 0.8827 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003028/0.7324, allocations: 222.1 kB / 0.8829 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.7327, allocations: 128.6 kB / 0.883 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.7327, allocations: 7.938 kB / 0.883 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.7327, allocations: 46.5 kB / 0.883 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.753e-06/0.7328, allocations: 0 / 0.883 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0007225/0.7335, allocations: 249.5 kB / 0.8833 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001891/0.7337, allocations: 290.7 kB / 0.8836 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000839/0.7345, allocations: 0.6842 MB / 0.8842 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.7346, allocations: 29.7 kB / 0.8843 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/0.7348, allocations: 272.5 kB / 0.8845 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.416e-05/0.7349, allocations: 35.45 kB / 0.8845 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.9e-05/0.735, allocations: 29.7 kB / 0.8846 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002538/0.7352, allocations: 370.7 kB / 0.8849 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.7354, allocations: 40.83 kB / 0.885 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.7356, allocations: 97.05 kB / 0.8851 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/0.7358, allocations: 133 kB / 0.8852 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.7359, allocations: 0 / 0.8852 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003561/0.7362, allocations: 184.8 kB / 0.8854 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.7362, allocations: 6.031 kB / 0.8854 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.7363, allocations: 0 / 0.8854 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.7363, allocations: 18.23 kB / 0.8854 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.7365, allocations: 39.95 kB / 0.8854 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.7365, allocations: 1.484 kB / 0.8854 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/0.7368, allocations: 63.25 kB / 0.8855 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.7368, allocations: 12 kB / 0.8855 GB, free: 6.414 MB / 0.6075 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.0002416/0.7371, allocations: 202.4 kB / 0.8857 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000207/0.7373, allocations: 55.34 kB / 0.8857 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.296e-05/0.7374, allocations: 72.25 kB / 0.8858 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.7374, allocations: 0 / 0.8858 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.7374, allocations: 4 kB / 0.8858 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.7374, allocations: 4 kB / 0.8858 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.7391, allocations: 1.3 MB / 0.8871 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.7392, allocations: 4 kB / 0.8871 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.7394, allocations: 44.23 kB / 0.8871 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.7394, allocations: 4 kB / 0.8871 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.7394, allocations: 4 kB / 0.8871 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.7394, allocations: 3.984 kB / 0.8871 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/0.7394, allocations: 9.75 kB / 0.8872 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004968/0.7399, allocations: 338.3 kB / 0.8875 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.7401, allocations: 148.4 kB / 0.8876 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.66e-05/0.7402, allocations: 8 kB / 0.8876 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.7404, allocations: 11.98 kB / 0.8876 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.703e-05/0.7405, allocations: 23.86 kB / 0.8877 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-06/0.7405, allocations: 4 kB / 0.8877 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006751/0.7412, allocations: 0.4951 MB / 0.8882 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.91e-07/0.7412, allocations: 4 kB / 0.8882 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004706/0.7416, allocations: 83.84 kB / 0.8882 GB, free: 3.453 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.0004462/0.7421, allocations: 132.6 kB / 0.8884 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003499/0.7425, allocations: 111.8 kB / 0.8885 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.7425, allocations: 0 / 0.8885 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.7426, allocations: 59.84 kB / 0.8885 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.7441, allocations: 287.1 kB / 0.8888 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.7456, allocations: 1.014 MB / 0.8898 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005451/0.7461, allocations: 0.905 MB / 0.8907 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000267/0.7464, allocations: 104.6 kB / 0.8908 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.536e-05/0.7465, allocations: 35.44 kB / 0.8908 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.7465, allocations: 0 / 0.8908 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of Templates: time 0.01725/0.7637, allocations: 8.335 MB / 0.8989 GB, free: 8.547 MB / 0.6231 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)