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.001566/0.001566, allocations: 109.2 kB / 16.41 MB, free: 6.473 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.001834/0.001834, allocations: 187 kB / 17.34 MB, free: 5.754 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002191/0.002191, allocations: 295.5 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9756/0.9756, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 99.84 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4308/0.4328, allocations: 86.97 MB / 0.767 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.1849/0.6178, allocations: 176 MB / 0.9389 GB, free: 3.234 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01014/0.628, allocations: 8.716 MB / 0.9474 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007279/0.6287, allocations: 23.81 kB / 0.9474 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008815/0.6296, allocations: 305.8 kB / 0.9477 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00096/0.6306, allocations: 302.4 kB / 0.948 GB, free: 9.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.6317, allocations: 386 kB / 0.9484 GB, free: 9.504 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001344/0.6331, allocations: 1.141 MB / 0.9495 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009312/0.634, allocations: 0.5906 MB / 0.9501 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004559/0.6386, allocations: 2.066 MB / 0.9521 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005396/0.6392, allocations: 342.5 kB / 0.9524 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.744e-05/0.6393, allocations: 44 kB / 0.9525 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000265/0.6396, allocations: 83.94 kB / 0.9525 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002655/0.6398, allocations: 259.3 kB / 0.9528 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003677/0.6402, allocations: 278.5 kB / 0.953 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007449/0.641, allocations: 0.65 MB / 0.9537 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.641, allocations: 0 / 0.9537 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.641, allocations: 0 / 0.9537 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.035e-05/0.641, allocations: 0 / 0.9537 GB, free: 4.055 MB / 0.7169 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.001107/0.6421, allocations: 0.8262 MB / 0.9545 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.6422, allocations: 12.03 kB / 0.9545 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.6423, allocations: 71.09 kB / 0.9546 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007042/0.643, allocations: 442.2 kB / 0.955 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/0.6431, allocations: 49.23 kB / 0.955 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.491e-05/0.6431, allocations: 48 kB / 0.9551 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.6442, allocations: 0.7051 MB / 0.9558 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.6442, allocations: 7.938 kB / 0.9558 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.117e-05/0.6443, allocations: 27.98 kB / 0.9558 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.241e-05/0.6443, allocations: 31.92 kB / 0.9558 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006488/0.645, allocations: 371.4 kB / 0.9562 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.372/1.017, allocations: 3.213 MB / 0.9593 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/1.017, allocations: 215.6 kB / 0.9595 GB, free: 190.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/1.017, allocations: 131.2 kB / 0.9597 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/1.017, allocations: 3.5 kB / 0.9597 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/1.018, allocations: 49.88 kB / 0.9597 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 3.387e-06/1.018, allocations: 2.344 kB / 0.9597 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.000825/1.018, allocations: 249.4 kB / 0.9599 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.107e-05/1.018, allocations: 287.3 kB / 0.9602 GB, free: 190 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009935/1.019, allocations: 0.69 MB / 0.9609 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/1.019, allocations: 31.73 kB / 0.9609 GB, free: 189.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002/1.02, allocations: 273.6 kB / 0.9612 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/1.02, allocations: 31.47 kB / 0.9612 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.426e-05/1.02, allocations: 27.98 kB / 0.9612 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001057/1.02, allocations: 368.5 kB / 0.9616 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/1.02, allocations: 37.23 kB / 0.9616 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/1.02, allocations: 100.4 kB / 0.9617 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/1.02, allocations: 125.8 kB / 0.9618 GB, free: 189 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.02, allocations: 0.5312 kB / 0.9618 GB, free: 189 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000399/1.021, allocations: 194.3 kB / 0.962 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/1.021, allocations: 12.69 kB / 0.962 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/1.021, allocations: 1.906 kB / 0.962 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/1.021, allocations: 5.844 kB / 0.9621 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/1.021, allocations: 38.28 kB / 0.9621 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/1.021, allocations: 1.922 kB / 0.9621 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/1.021, allocations: 54.25 kB / 0.9621 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/1.021, allocations: 15.66 kB / 0.9622 GB, free: 188.9 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.0001986/1.022, allocations: 199.7 kB / 0.9623 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/1.022, allocations: 64.45 kB / 0.9624 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.627e-05/1.022, allocations: 63.2 kB / 0.9625 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/1.022, allocations: 7.719 kB / 0.9625 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/1.022, allocations: 3.328 kB / 0.9625 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/1.022, allocations: 3.031 kB / 0.9625 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/1.023, allocations: 1.302 MB / 0.9638 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/1.023, allocations: 2.812 kB / 0.9638 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/1.023, allocations: 42.3 kB / 0.9638 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/1.023, allocations: 3.156 kB / 0.9638 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/1.023, allocations: 3.594 kB / 0.9638 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/1.023, allocations: 10.39 kB / 0.9638 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.024, allocations: 5 kB / 0.9638 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/1.024, allocations: 332.8 kB / 0.9641 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/1.024, allocations: 147.9 kB / 0.9643 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.74e-05/1.024, allocations: 8.188 kB / 0.9643 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/1.024, allocations: 10.91 kB / 0.9643 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/1.024, allocations: 18.25 kB / 0.9643 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/1.024, allocations: 5.844 kB / 0.9643 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005057/1.025, allocations: 0.494 MB / 0.9648 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/1.025, allocations: 3.969 kB / 0.9648 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000388/1.025, allocations: 78.7 kB / 0.9649 GB, free: 186.9 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.000299/1.025, allocations: 130.8 kB / 0.965 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002996/1.026, allocations: 109 kB / 0.9651 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.026, allocations: 3.344 kB / 0.9651 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001329/1.026, allocations: 64.62 kB / 0.9652 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/1.027, allocations: 285.8 kB / 0.9654 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/1.028, allocations: 0.928 MB / 0.9664 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/1.029, allocations: 0.9055 MB / 0.9672 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.665e-05/1.029, allocations: 40.22 kB / 0.9673 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of SimCode: time 4.71e-07/1.029, allocations: 0 / 0.9673 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.01061/1.039, allocations: 7.927 MB / 0.975 GB, free: 180.9 MB / 0.7169 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)