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.008072/0.008073, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001733/0.001733, allocations: 201.3 kB / 16.68 MB, free: 5.969 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 / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002117/0.002117, allocations: 282.6 kB / 290.8 MB, free: 1.953 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9693/0.9693, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 103.8 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1941, allocations: 86.97 MB / 0.7664 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.6364/0.8306, allocations: 176 MB / 0.9382 GB, free: 2.848 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01023/0.8408, allocations: 8.707 MB / 0.9467 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007643/0.8416, allocations: 27.88 kB / 0.9468 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0009436/0.8426, allocations: 297.8 kB / 0.947 GB, free: 9.797 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.000951/0.8436, allocations: 310.4 kB / 0.9473 GB, free: 9.492 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.8447, allocations: 371.7 kB / 0.9477 GB, free: 9.133 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001397/0.8461, allocations: 1.153 MB / 0.9488 GB, free: 7.977 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008331/0.847, allocations: 0.5955 MB / 0.9494 GB, free: 7.383 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004601/0.8516, allocations: 2.058 MB / 0.9514 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004593/0.8521, allocations: 346.5 kB / 0.9517 GB, free: 4.977 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 6.934e-05/0.8522, allocations: 40 kB / 0.9518 GB, free: 4.938 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002233/0.8524, allocations: 87.94 kB / 0.9519 GB, free: 4.852 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.8526, allocations: 259.3 kB / 0.9521 GB, free: 4.598 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0002763/0.8529, allocations: 286.5 kB / 0.9524 GB, free: 4.316 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0007301/0.8536, allocations: 0.6521 MB / 0.953 GB, free: 3.664 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.8537, allocations: 0 / 0.953 GB, free: 3.664 MB / 0.7012 GB Notification: Performance of FrontEnd: time 9.22e-07/0.8537, allocations: 0 / 0.953 GB, free: 3.664 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.8537, allocations: 0 / 0.953 GB, free: 3.664 MB / 0.7012 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.0009858/0.8547, allocations: 0.8451 MB / 0.9538 GB, free: 2.766 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.8547, allocations: 11.97 kB / 0.9539 GB, free: 2.754 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.8548, allocations: 71.52 kB / 0.9539 GB, free: 2.684 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006239/0.8555, allocations: 450.4 kB / 0.9544 GB, free: 2.203 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/0.8555, allocations: 45.3 kB / 0.9544 GB, free: 2.16 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.98e-05/0.8556, allocations: 44 kB / 0.9544 GB, free: 2.117 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009661/0.8565, allocations: 0.7073 MB / 0.9551 GB, free: 1.332 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.8566, allocations: 7.938 kB / 0.9551 GB, free: 1.324 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.163e-05/0.8566, allocations: 20 kB / 0.9552 GB, free: 1.305 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.841e-05/0.8567, allocations: 35.92 kB / 0.9552 GB, free: 1.27 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006123/0.8573, allocations: 379.3 kB / 0.9556 GB, free: 0.9023 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002382/0.8597, allocations: 3.224 MB / 0.9587 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.8599, allocations: 222.1 kB / 0.9589 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.8601, allocations: 124.5 kB / 0.959 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.8601, allocations: 4 kB / 0.959 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.8602, allocations: 46.5 kB / 0.9591 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.8602, allocations: 0 / 0.9591 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0006591/0.8608, allocations: 257.7 kB / 0.9593 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.861, allocations: 294.7 kB / 0.9596 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007147/0.8617, allocations: 0.6799 MB / 0.9603 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.8617, allocations: 29.7 kB / 0.9603 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.8619, allocations: 272.6 kB / 0.9606 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.862, allocations: 35.69 kB / 0.9606 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-05/0.862, allocations: 33.7 kB / 0.9606 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.8622, allocations: 366.8 kB / 0.961 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.8623, allocations: 35.95 kB / 0.961 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.8625, allocations: 93.11 kB / 0.9611 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002264/0.8627, allocations: 133 kB / 0.9612 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.8627, allocations: 0 / 0.9612 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003182/0.863, allocations: 185.1 kB / 0.9614 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.8631, allocations: 8 kB / 0.9614 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.8631, allocations: 0 / 0.9614 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.8631, allocations: 4.266 kB / 0.9614 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.8633, allocations: 52.08 kB / 0.9615 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.8633, allocations: 4 kB / 0.9615 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.8635, allocations: 59.44 kB / 0.9615 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.8635, allocations: 4 kB / 0.9615 GB, free: 10.36 MB / 0.7169 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.0001881/0.8637, allocations: 210.5 kB / 0.9617 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/0.864, allocations: 63.58 kB / 0.9618 GB, free: 10.08 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.205e-05/0.864, allocations: 68.2 kB / 0.9619 GB, free: 10 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.8641, allocations: 4 kB / 0.9619 GB, free: 10 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.8641, allocations: 4 kB / 0.9619 GB, free: 9.996 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.8641, allocations: 3.984 kB / 0.9619 GB, free: 9.992 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.8654, allocations: 1.301 MB / 0.9631 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.8654, allocations: 0 / 0.9631 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.8656, allocations: 49.89 kB / 0.9632 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.8656, allocations: 4 kB / 0.9632 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.8656, allocations: 4.281 kB / 0.9632 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.8656, allocations: 8 kB / 0.9632 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.8656, allocations: 0 / 0.9632 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003908/0.866, allocations: 342.7 kB / 0.9635 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.8662, allocations: 148.7 kB / 0.9637 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.415e-05/0.8662, allocations: 7.984 kB / 0.9637 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.8664, allocations: 12 kB / 0.9637 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.8665, allocations: 15.92 kB / 0.9637 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.8665, allocations: 4 kB / 0.9637 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005077/0.867, allocations: 0.4951 MB / 0.9642 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.867, allocations: 0 / 0.9642 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003644/0.8674, allocations: 83.89 kB / 0.9643 GB, free: 7.383 MB / 0.7169 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.0002915/0.8677, allocations: 137.5 kB / 0.9644 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002984/0.868, allocations: 107.8 kB / 0.9645 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.868, allocations: 0 / 0.9645 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.8681, allocations: 68.73 kB / 0.9646 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.8694, allocations: 290.1 kB / 0.9648 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.8706, allocations: 0.8872 MB / 0.9657 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006232/0.8712, allocations: 0.9011 MB / 0.9666 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002298/0.8714, allocations: 108.6 kB / 0.9667 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.239e-05/0.8715, allocations: 39.44 kB / 0.9667 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of SimCode: time 1.763e-06/0.8715, allocations: 0 / 0.9667 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of Templates: time 0.01635/0.8879, allocations: 8.458 MB / 0.975 GB, free: 12.46 MB / 0.7325 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)