Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sources.Examples.PropertySource_h") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001558/0.001558, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002203/0.002202, allocations: 195.1 kB / 16.14 MB, free: 6.688 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.454/1.454, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.913/2.913, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 65.8 kB / 0.9113 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3584, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2168/0.5752, allocations: 173.8 MB / 1.237 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01077/0.586, allocations: 8.696 MB / 1.246 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009188/0.587, allocations: 15.88 kB / 1.246 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.5881, allocations: 238.4 kB / 1.246 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.5892, allocations: 290.6 kB / 1.246 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.5904, allocations: 342.5 kB / 1.247 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001861/0.5923, allocations: 1.605 MB / 1.248 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007585/0.593, allocations: 0.5123 MB / 1.249 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.7231/1.316, allocations: 1.918 MB / 1.25 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/1.317, allocations: 380.7 kB / 1.251 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001136/1.317, allocations: 27.94 kB / 1.251 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000351/1.318, allocations: 60.64 kB / 1.251 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004148/1.318, allocations: 247.5 kB / 1.251 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000468/1.319, allocations: 271.7 kB / 1.251 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001041/1.32, allocations: 0.6033 MB / 1.252 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/1.32, allocations: 0.5312 kB / 1.252 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.914e-06/1.32, allocations: 0.5156 kB / 1.252 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.167e-05/1.32, allocations: 1.812 kB / 1.252 GB, free: 6.859 MB / 0.9981 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.001665/1.321, allocations: 0.8213 MB / 1.253 GB, free: 22.35 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/1.321, allocations: 9.094 kB / 1.253 GB, free: 22.35 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/1.322, allocations: 67.73 kB / 1.253 GB, free: 22.32 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000684/1.322, allocations: 418 kB / 1.253 GB, free: 22.07 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.705e-05/1.322, allocations: 40.27 kB / 1.253 GB, free: 22.06 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.611e-05/1.322, allocations: 57.5 kB / 1.253 GB, free: 22.06 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/1.324, allocations: 0.6945 MB / 1.254 GB, free: 21.82 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/1.324, allocations: 4.844 kB / 1.254 GB, free: 21.82 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.306e-05/1.324, allocations: 25.42 kB / 1.254 GB, free: 21.82 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.776e-05/1.324, allocations: 40.58 kB / 1.254 GB, free: 21.82 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006982/1.324, allocations: 375.3 kB / 1.254 GB, free: 21.81 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002921/1.327, allocations: 3.223 MB / 1.258 GB, free: 19.41 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/1.328, allocations: 220.3 kB / 1.258 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/1.328, allocations: 129.7 kB / 1.258 GB, free: 19.09 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/1.328, allocations: 2.531 kB / 1.258 GB, free: 19.09 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/1.328, allocations: 55.31 kB / 1.258 GB, free: 19.05 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 2.955e-06/1.328, allocations: 1 kB / 1.258 GB, free: 19.05 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.000775/1.329, allocations: 243.4 kB / 1.258 GB, free: 18.98 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/1.329, allocations: 297.5 kB / 1.259 GB, free: 18.64 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/1.33, allocations: 0.6839 MB / 1.259 GB, free: 18.51 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/1.33, allocations: 28.27 kB / 1.259 GB, free: 18.48 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002754/1.33, allocations: 270.4 kB / 1.259 GB, free: 18.38 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/1.33, allocations: 34.3 kB / 1.26 GB, free: 18.36 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.211e-05/1.33, allocations: 32.52 kB / 1.26 GB, free: 18.35 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002373/1.331, allocations: 368.5 kB / 1.26 GB, free: 18.03 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/1.331, allocations: 37.84 kB / 1.26 GB, free: 18.03 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/1.331, allocations: 97.33 kB / 1.26 GB, free: 17.98 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/1.331, allocations: 127.9 kB / 1.26 GB, free: 17.93 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.331, allocations: 0 / 1.26 GB, free: 17.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003544/1.332, allocations: 195 kB / 1.26 GB, free: 17.87 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/1.332, allocations: 9.125 kB / 1.26 GB, free: 17.86 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.332, allocations: 0 / 1.26 GB, free: 17.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/1.332, allocations: 3.719 kB / 1.26 GB, free: 17.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/1.332, allocations: 39.47 kB / 1.26 GB, free: 17.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.689e-06/1.332, allocations: 5.75 kB / 1.26 GB, free: 17.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003163/1.332, allocations: 65.02 kB / 1.26 GB, free: 17.83 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/1.332, allocations: 4.812 kB / 1.26 GB, free: 17.83 MB / 1.014 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.0002452/1.333, allocations: 198.7 kB / 1.261 GB, free: 17.71 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/1.333, allocations: 65.41 kB / 1.261 GB, free: 17.68 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.573e-05/1.333, allocations: 63.48 kB / 1.261 GB, free: 17.67 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/1.333, allocations: 2.125 kB / 1.261 GB, free: 17.67 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/1.333, allocations: 10.03 kB / 1.261 GB, free: 17.66 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/1.333, allocations: 3.422 kB / 1.261 GB, free: 17.66 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/1.334, allocations: 1.299 MB / 1.262 GB, free: 16.69 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.334, allocations: 2.625 kB / 1.262 GB, free: 16.69 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/1.335, allocations: 47.06 kB / 1.262 GB, free: 16.69 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/1.335, allocations: 2.625 kB / 1.262 GB, free: 16.69 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/1.335, allocations: 6.859 kB / 1.262 GB, free: 16.69 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/1.335, allocations: 6.281 kB / 1.262 GB, free: 16.69 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.335, allocations: 6.844 kB / 1.262 GB, free: 16.68 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004253/1.335, allocations: 336.4 kB / 1.262 GB, free: 16.45 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/1.335, allocations: 151.7 kB / 1.263 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.09e-05/1.335, allocations: 3.141 kB / 1.263 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/1.336, allocations: 18.47 kB / 1.263 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.216e-05/1.336, allocations: 21.92 kB / 1.263 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-06/1.336, allocations: 5.688 kB / 1.263 GB, free: 16.32 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005952/1.336, allocations: 0.4946 MB / 1.263 GB, free: 16.23 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.336, allocations: 0 / 1.263 GB, free: 16.23 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004269/1.337, allocations: 86.14 kB / 1.263 GB, free: 16.22 MB / 1.014 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.0003602/1.337, allocations: 138.6 kB / 1.263 GB, free: 16.12 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003409/1.337, allocations: 102 kB / 1.263 GB, free: 16.12 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.337, allocations: 0 / 1.263 GB, free: 16.12 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/1.338, allocations: 69.05 kB / 1.263 GB, free: 16.12 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/1.339, allocations: 272.9 kB / 1.264 GB, free: 16.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/1.34, allocations: 1.006 MB / 1.265 GB, free: 15.52 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005343/1.341, allocations: 0.9045 MB / 1.266 GB, free: 14.82 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003051/1.341, allocations: 105.2 kB / 1.266 GB, free: 14.81 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.961e-05/1.341, allocations: 35.41 kB / 1.266 GB, free: 14.8 MB / 1.014 GB Notification: Performance of SimCode: time 5.01e-07/1.341, allocations: 0 / 1.266 GB, free: 14.8 MB / 1.014 GB Notification: Performance of Templates: time 0.0205/1.362, allocations: 8.053 MB / 1.274 GB, free: 14.39 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_1.6_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)