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.004317/0.004317, allocations: 101.2 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.0009678/0.0009679, allocations: 194.3 kB / 16.67 MB, free: 5.977 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002165/0.002165, allocations: 290.1 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9399/0.9399, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 99.86 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2157, allocations: 86.98 MB / 0.7664 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.6289/0.8447, allocations: 176 MB / 0.9382 GB, free: 2.801 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01088/0.8556, allocations: 8.698 MB / 0.9467 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.8567, allocations: 27.81 kB / 0.9468 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.858, allocations: 297.8 kB / 0.947 GB, free: 9.758 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001301/0.8593, allocations: 314.4 kB / 0.9473 GB, free: 9.449 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.8607, allocations: 371.4 kB / 0.9477 GB, free: 9.09 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0016/0.8623, allocations: 1.164 MB / 0.9488 GB, free: 7.922 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.8633, allocations: 0.587 MB / 0.9494 GB, free: 7.336 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005123/0.8685, allocations: 2.062 MB / 0.9514 GB, free: 5.266 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006388/0.8691, allocations: 342.5 kB / 0.9517 GB, free: 4.93 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.8693, allocations: 40 kB / 0.9518 GB, free: 4.891 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003127/0.8696, allocations: 87.94 kB / 0.9519 GB, free: 4.805 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.00035/0.8699, allocations: 255.3 kB / 0.9521 GB, free: 4.555 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0004314/0.8704, allocations: 290.5 kB / 0.9524 GB, free: 4.27 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0009602/0.8714, allocations: 0.6422 MB / 0.953 GB, free: 3.625 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.8714, allocations: 7.938 kB / 0.953 GB, free: 3.617 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8714, allocations: 0 / 0.953 GB, free: 3.617 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.261e-05/0.8714, allocations: 0 / 0.953 GB, free: 3.617 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.001561/0.873, allocations: 0.8262 MB / 0.9538 GB, free: 2.738 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.8731, allocations: 12.03 kB / 0.9538 GB, free: 2.727 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.8733, allocations: 67.19 kB / 0.9539 GB, free: 2.66 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007784/0.874, allocations: 451.6 kB / 0.9543 GB, free: 2.18 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.852e-05/0.8741, allocations: 33.31 kB / 0.9544 GB, free: 2.148 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-05/0.8742, allocations: 52 kB / 0.9544 GB, free: 2.098 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.8752, allocations: 0.7066 MB / 0.9551 GB, free: 1.312 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.8753, allocations: 7.938 kB / 0.9551 GB, free: 1.305 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.426e-05/0.8753, allocations: 20 kB / 0.9551 GB, free: 1.285 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.588e-05/0.8754, allocations: 35.92 kB / 0.9552 GB, free: 1.25 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006525/0.876, allocations: 375.4 kB / 0.9555 GB, free: 0.8828 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002829/0.8789, allocations: 3.215 MB / 0.9587 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.8791, allocations: 218.1 kB / 0.9589 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.8794, allocations: 132.5 kB / 0.959 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.8794, allocations: 4 kB / 0.959 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.8794, allocations: 47.44 kB / 0.959 GB, free: 13 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.502e-06/0.8794, allocations: 0 / 0.959 GB, free: 13 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0007055/0.8801, allocations: 245.8 kB / 0.9593 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/0.8803, allocations: 298.8 kB / 0.9596 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007837/0.8811, allocations: 0.6799 MB / 0.9602 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.8811, allocations: 33.7 kB / 0.9603 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.8813, allocations: 268.1 kB / 0.9605 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.8814, allocations: 31.55 kB / 0.9606 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.044e-05/0.8815, allocations: 33.7 kB / 0.9606 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.8816, allocations: 366.8 kB / 0.9609 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.8817, allocations: 39.95 kB / 0.961 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.8819, allocations: 93.05 kB / 0.9611 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/0.8822, allocations: 129 kB / 0.9612 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.8822, allocations: 0 / 0.9612 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003474/0.8825, allocations: 188.8 kB / 0.9614 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.8826, allocations: 4 kB / 0.9614 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.8826, allocations: 5.312 kB / 0.9614 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.8826, allocations: 4.266 kB / 0.9614 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.8828, allocations: 40.14 kB / 0.9614 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.8828, allocations: 3.938 kB / 0.9614 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.8831, allocations: 75.33 kB / 0.9615 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.8831, allocations: 4 kB / 0.9615 GB, free: 10.34 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.0002176/0.8833, allocations: 202.4 kB / 0.9617 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002275/0.8835, allocations: 59.25 kB / 0.9617 GB, free: 10.08 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.325e-05/0.8836, allocations: 68.25 kB / 0.9618 GB, free: 10 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.8837, allocations: 4 kB / 0.9618 GB, free: 10 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.892e-06/0.8837, allocations: 0 / 0.9618 GB, free: 10 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.8837, allocations: 7.984 kB / 0.9618 GB, free: 9.992 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/0.8851, allocations: 1.299 MB / 0.9631 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.8851, allocations: 8.062 kB / 0.9631 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.8853, allocations: 39.95 kB / 0.9631 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.8853, allocations: 4 kB / 0.9631 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.8853, allocations: 8 kB / 0.9631 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.8853, allocations: 3.938 kB / 0.9631 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.8853, allocations: 4 kB / 0.9632 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003894/0.8857, allocations: 342.3 kB / 0.9635 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.8859, allocations: 144.4 kB / 0.9636 GB, free: 8 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.609e-05/0.886, allocations: 7.984 kB / 0.9636 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.8861, allocations: 8 kB / 0.9636 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.8862, allocations: 19.86 kB / 0.9637 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/0.8862, allocations: 4 kB / 0.9637 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005512/0.8868, allocations: 0.499 MB / 0.9641 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8868, allocations: 0 / 0.9641 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000392/0.8872, allocations: 83.84 kB / 0.9642 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.0003323/0.8875, allocations: 130.3 kB / 0.9643 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003139/0.8878, allocations: 119.8 kB / 0.9645 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.8878, allocations: 0 / 0.9645 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.888, allocations: 59.83 kB / 0.9645 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.8892, allocations: 285.7 kB / 0.9648 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.8905, allocations: 0.8687 MB / 0.9656 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004966/0.891, allocations: 0.9089 MB / 0.9665 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000248/0.8912, allocations: 104.6 kB / 0.9666 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.287e-05/0.8913, allocations: 35.44 kB / 0.9667 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of SimCode: time 1.844e-06/0.8913, allocations: 0 / 0.9667 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of Templates: time 0.01506/0.9064, allocations: 8.622 MB / 0.9751 GB, free: 12.33 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)