Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001002/0.001002, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.008919/0.008919, allocations: 172.4 kB / 16.27 MB, free: 6.652 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.528/1.528, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.854/2.854, allocations: 473.4 MB / 0.7469 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004024/0.0004024, allocations: 9.5 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3356, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1941/0.5297, allocations: 171.5 MB / 1.242 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009616/0.5394, allocations: 8.571 MB / 1.25 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008353/0.5403, allocations: 15.88 kB / 1.25 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007865/0.5411, allocations: 246.3 kB / 1.25 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008274/0.5419, allocations: 298.7 kB / 1.25 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.5429, allocations: 331 kB / 1.251 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001581/0.5445, allocations: 1.624 MB / 1.252 GB, free: 336 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6883/1.233, allocations: 487.6 kB / 1.253 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007079/1.24, allocations: 1.905 MB / 1.255 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009839/1.241, allocations: 345.4 kB / 1.255 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002134/1.241, allocations: 24.78 kB / 1.255 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005267/1.242, allocations: 55.8 kB / 1.255 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005575/1.242, allocations: 234.2 kB / 1.255 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007888/1.243, allocations: 280.3 kB / 1.256 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001204/1.244, allocations: 0.602 MB / 1.256 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/1.244, allocations: 0 / 1.256 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.044e-06/1.244, allocations: 0 / 1.256 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.509e-05/1.244, allocations: 0 / 1.256 GB, free: 6.523 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.002119/1.247, allocations: 0.7083 MB / 1.257 GB, free: 22 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/1.247, allocations: 9.938 kB / 1.257 GB, free: 22 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003321/1.247, allocations: 66.38 kB / 1.257 GB, free: 21.97 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000875/1.248, allocations: 418.1 kB / 1.257 GB, free: 21.72 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.047e-05/1.248, allocations: 45.75 kB / 1.257 GB, free: 21.72 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/1.248, allocations: 53.17 kB / 1.257 GB, free: 21.72 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/1.249, allocations: 0.7052 MB / 1.258 GB, free: 21.47 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/1.25, allocations: 1.812 kB / 1.258 GB, free: 21.47 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.589e-05/1.25, allocations: 26.39 kB / 1.258 GB, free: 21.47 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.974e-05/1.25, allocations: 35.05 kB / 1.258 GB, free: 21.47 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008765/1.251, allocations: 389.4 kB / 1.259 GB, free: 21.46 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003428/1.254, allocations: 3.223 MB / 1.262 GB, free: 19.06 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/1.254, allocations: 223.6 kB / 1.262 GB, free: 18.82 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/1.255, allocations: 134.5 kB / 1.262 GB, free: 18.74 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/1.255, allocations: 2.219 kB / 1.262 GB, free: 18.74 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.12e-05/1.255, allocations: 53 kB / 1.262 GB, free: 18.7 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 2.384e-06/1.255, allocations: 0 / 1.262 GB, free: 18.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0008281/1.255, allocations: 268.5 kB / 1.262 GB, free: 18.63 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/1.256, allocations: 296.1 kB / 1.263 GB, free: 18.28 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008737/1.256, allocations: 0.6872 MB / 1.263 GB, free: 18.16 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/1.256, allocations: 28.39 kB / 1.263 GB, free: 18.12 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/1.257, allocations: 268.6 kB / 1.264 GB, free: 18.03 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/1.257, allocations: 33.17 kB / 1.264 GB, free: 18.01 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/1.257, allocations: 15.73 kB / 1.264 GB, free: 17.99 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001857/1.257, allocations: 369.2 kB / 1.264 GB, free: 17.68 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/1.257, allocations: 42.23 kB / 1.264 GB, free: 17.68 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/1.257, allocations: 104.9 kB / 1.264 GB, free: 17.63 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/1.258, allocations: 138.5 kB / 1.264 GB, free: 17.57 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/1.258, allocations: 0 / 1.264 GB, free: 17.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003754/1.258, allocations: 210.2 kB / 1.264 GB, free: 17.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/1.258, allocations: 6.078 kB / 1.264 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/1.258, allocations: 2.781 kB / 1.264 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/1.258, allocations: 0 / 1.264 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/1.258, allocations: 52.3 kB / 1.265 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/1.258, allocations: 3.688 kB / 1.265 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003092/1.259, allocations: 67.17 kB / 1.265 GB, free: 17.47 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/1.259, allocations: 6.578 kB / 1.265 GB, free: 17.47 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.0002401/1.259, allocations: 200.7 kB / 1.265 GB, free: 17.36 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/1.259, allocations: 64.17 kB / 1.265 GB, free: 17.32 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.829e-05/1.259, allocations: 60.44 kB / 1.265 GB, free: 17.31 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/1.259, allocations: 9.047 kB / 1.265 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/1.259, allocations: 2.094 kB / 1.265 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/1.259, allocations: 5.781 kB / 1.265 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/1.261, allocations: 1.303 MB / 1.266 GB, free: 16.33 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/1.261, allocations: 2.562 kB / 1.266 GB, free: 16.33 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/1.261, allocations: 54.78 kB / 1.266 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/1.261, allocations: 4.75 kB / 1.266 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/1.261, allocations: 4.672 kB / 1.266 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/1.261, allocations: 5.562 kB / 1.266 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/1.261, allocations: 9.641 kB / 1.266 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000443/1.262, allocations: 346.1 kB / 1.267 GB, free: 16.08 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/1.262, allocations: 149 kB / 1.267 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.935e-05/1.262, allocations: 7.922 kB / 1.267 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/1.262, allocations: 15.31 kB / 1.267 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.936e-05/1.262, allocations: 26.34 kB / 1.267 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/1.262, allocations: 3.25 kB / 1.267 GB, free: 15.95 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007596/1.263, allocations: 0.4961 MB / 1.267 GB, free: 15.86 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.263, allocations: 0 / 1.267 GB, free: 15.86 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005286/1.263, allocations: 85.44 kB / 1.267 GB, free: 15.85 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.0004208/1.264, allocations: 139.8 kB / 1.268 GB, free: 15.76 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003546/1.264, allocations: 109.9 kB / 1.268 GB, free: 15.76 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.264, allocations: 384 / 1.268 GB, free: 15.76 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/1.264, allocations: 68.88 kB / 1.268 GB, free: 15.75 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/1.266, allocations: 274.4 kB / 1.268 GB, free: 15.73 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/1.267, allocations: 1.022 MB / 1.269 GB, free: 15.16 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005142/1.268, allocations: 0.9061 MB / 1.27 GB, free: 14.45 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002758/1.268, allocations: 108.6 kB / 1.27 GB, free: 14.44 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.074e-05/1.268, allocations: 36.53 kB / 1.27 GB, free: 14.43 MB / 1.014 GB Notification: Performance of SimCode: time 6.21e-07/1.268, allocations: 0 / 1.27 GB, free: 14.43 MB / 1.014 GB Notification: Performance of Templates: time 0.0202/1.288, allocations: 8.012 MB / 1.278 GB, free: 14 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_3.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)