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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8227/0.8227, allocations: 141.8 MB / 149.3 MB, free: 9.23 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 175.7 kB / 182.2 MB, free: 9.473 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 221.5 MB / 436.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009987/0.0009986, allocations: 99.67 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001823/0.001823, allocations: 277.5 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.515e-05/1.516e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4525/0.4526, allocations: 82.77 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.613/5.066, allocations: 1.83 GB / 2.587 GB, free: 189.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/5.066, allocations: 90.19 kB / 2.587 GB, free: 189.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.198/6.265, allocations: 410.1 MB / 2.988 GB, free: 64.35 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.633e-06/6.265, allocations: 0 / 2.988 GB, free: 64.35 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.221e-05/6.265, allocations: 19.98 kB / 2.988 GB, free: 64.33 MB / 0.698 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.001781/6.267, allocations: 0.8459 MB / 2.988 GB, free: 63.44 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/6.267, allocations: 12.03 kB / 2.988 GB, free: 63.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/6.267, allocations: 63.25 kB / 2.989 GB, free: 63.37 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006632/6.268, allocations: 422.2 kB / 2.989 GB, free: 62.91 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/6.268, allocations: 16 kB / 2.989 GB, free: 62.89 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.672e-05/6.268, allocations: 32 kB / 2.989 GB, free: 62.86 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004825/6.268, allocations: 286.4 kB / 2.989 GB, free: 62.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007307/6.269, allocations: 0.5838 MB / 2.99 GB, free: 61.92 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/6.269, allocations: 7.938 kB / 2.99 GB, free: 61.91 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/6.269, allocations: 0 / 2.99 GB, free: 61.91 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.494e-05/6.269, allocations: 31.98 kB / 2.99 GB, free: 61.88 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/6.271, allocations: 2.99 MB / 2.993 GB, free: 58.76 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/6.271, allocations: 202.2 kB / 2.993 GB, free: 58.47 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.094e-05/6.271, allocations: 112.6 kB / 2.993 GB, free: 58.33 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/6.271, allocations: 4 kB / 2.993 GB, free: 58.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/6.271, allocations: 42.5 kB / 2.993 GB, free: 58.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.823e-06/6.271, allocations: 0 / 2.993 GB, free: 58.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0003686/6.272, allocations: 141.1 kB / 2.993 GB, free: 58.13 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/6.272, allocations: 290.7 kB / 2.994 GB, free: 57.78 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/6.272, allocations: 213.2 kB / 2.994 GB, free: 57.56 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/6.272, allocations: 30.02 kB / 2.994 GB, free: 57.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/6.272, allocations: 295.7 kB / 2.994 GB, free: 57.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/6.272, allocations: 35.45 kB / 2.994 GB, free: 57.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/6.272, allocations: 4 kB / 2.994 GB, free: 57.19 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.838e-05/6.272, allocations: 339.1 kB / 2.994 GB, free: 56.85 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.389e-05/6.272, allocations: 19.98 kB / 2.994 GB, free: 56.83 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.442e-05/6.272, allocations: 96.52 kB / 2.995 GB, free: 56.71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.69e-05/6.272, allocations: 39.91 kB / 2.995 GB, free: 56.67 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/6.272, allocations: 0 / 2.995 GB, free: 56.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001491/6.272, allocations: 125.5 kB / 2.995 GB, free: 56.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/6.272, allocations: 8 kB / 2.995 GB, free: 56.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/6.272, allocations: 0 / 2.995 GB, free: 56.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/6.272, allocations: 7.938 kB / 2.995 GB, free: 56.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/6.273, allocations: 19.98 kB / 2.995 GB, free: 56.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/6.273, allocations: 7.938 kB / 2.995 GB, free: 56.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/6.273, allocations: 32.09 kB / 2.995 GB, free: 56.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/6.273, allocations: 12 kB / 2.995 GB, free: 56.45 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.1e-05/6.273, allocations: 108.9 kB / 2.995 GB, free: 56.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/6.273, allocations: 31.61 kB / 2.995 GB, free: 56.31 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.529e-05/6.273, allocations: 25.36 kB / 2.995 GB, free: 56.28 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/6.273, allocations: 4 kB / 2.995 GB, free: 56.28 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/6.273, allocations: 8 kB / 2.995 GB, free: 56.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/6.273, allocations: 8 kB / 2.995 GB, free: 56.26 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/6.274, allocations: 1.223 MB / 2.996 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/6.274, allocations: 0 / 2.996 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.295e-05/6.274, allocations: 27.92 kB / 2.996 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/6.274, allocations: 4 kB / 2.996 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.629e-06/6.274, allocations: 4 kB / 2.996 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/6.274, allocations: 7.953 kB / 2.996 GB, free: 54.92 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/6.274, allocations: 0 / 2.996 GB, free: 54.92 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/6.274, allocations: 390.4 kB / 2.997 GB, free: 54.44 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.326e-05/6.275, allocations: 100.8 kB / 2.997 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/6.275, allocations: 7.984 kB / 2.997 GB, free: 54.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/6.275, allocations: 15.98 kB / 2.997 GB, free: 54.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/6.275, allocations: 19.94 kB / 2.997 GB, free: 54.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/6.275, allocations: 8 kB / 2.997 GB, free: 54.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001159/6.275, allocations: 180.6 kB / 2.997 GB, free: 54.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/6.275, allocations: 0 / 2.997 GB, free: 54.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007647/6.276, allocations: 211.2 kB / 2.997 GB, free: 53.89 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00181/6.278, allocations: 1.641 MB / 2.999 GB, free: 52.19 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000146/6.278, allocations: 75.84 kB / 2.999 GB, free: 52.12 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/6.278, allocations: 0 / 2.999 GB, free: 52.12 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.915e-05/6.278, allocations: 52.53 kB / 2.999 GB, free: 52.07 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005337/6.278, allocations: 92.05 kB / 2.999 GB, free: 51.98 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008041/6.279, allocations: 0.5745 MB / 2.999 GB, free: 51.35 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/6.279, allocations: 0.9233 MB / 3 GB, free: 50.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001345/6.28, allocations: 46.03 kB / 3 GB, free: 50.35 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/6.28, allocations: 23.44 kB / 3 GB, free: 50.32 MB / 0.698 GB Notification: Performance of SimCode: time 2.81e-07/6.28, allocations: 0 / 3 GB, free: 50.32 MB / 0.698 GB Notification: Performance of Templates: time 0.01712/6.297, allocations: 11.73 MB / 3.012 GB, free: 38.64 MB / 0.698 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)