Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesParallel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.FixedResistancesParallel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesParallel") translateModel(Buildings.Fluid.FixedResistances.Examples.FixedResistancesParallel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesParallel") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4859/0.4859, allocations: 94.74 MB / 102 MB, free: 10.34 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00117/0.00117, allocations: 180.2 kB / 125.3 MB, free: 11.96 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.254/1.254, allocations: 170.5 MB / 319 MB, free: 9.285 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001571/0.001571, allocations: 108.1 kB / 381 MB, free: 18.15 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.01e-05/1.029e-05, allocations: 0 / 448.6 MB, free: 2.09 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1628, allocations: 61.52 MB / 0.4981 GB, free: 4.48 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9592/1.122, allocations: 395.9 MB / 0.8847 GB, free: 9.465 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/1.122, allocations: 86.36 kB / 0.8848 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.5633/1.686, allocations: 160.6 MB / 1.042 GB, free: 75.16 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.816e-05/1.686, allocations: 19.98 kB / 1.042 GB, free: 75.14 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.00158/1.687, allocations: 0.6944 MB / 1.042 GB, free: 74.4 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/1.688, allocations: 12.03 kB / 1.042 GB, free: 74.39 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004406/1.688, allocations: 67.23 kB / 1.042 GB, free: 74.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02721/1.715, allocations: 12.35 MB / 1.054 GB, free: 61.76 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.42e-05/1.715, allocations: 42.36 kB / 1.055 GB, free: 61.71 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.385e-05/1.715, allocations: 16 kB / 1.055 GB, free: 61.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004063/1.716, allocations: 165.3 kB / 1.055 GB, free: 61.54 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005212/1.716, allocations: 319.8 kB / 1.055 GB, free: 61.19 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/1.716, allocations: 0 / 1.055 GB, free: 61.19 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.404e-05/1.716, allocations: 4 kB / 1.055 GB, free: 61.19 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/1.717, allocations: 8 kB / 1.055 GB, free: 61.18 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002207/1.719, allocations: 1.643 MB / 1.057 GB, free: 59.44 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/1.719, allocations: 70.48 kB / 1.057 GB, free: 59.36 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.452e-05/1.719, allocations: 32.91 kB / 1.057 GB, free: 59.32 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.933e-05/1.719, allocations: 81.11 kB / 1.057 GB, free: 59.23 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/1.719, allocations: 34.56 kB / 1.057 GB, free: 59.18 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.753e-06/1.719, allocations: 0 / 1.057 GB, free: 59.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0005092/1.72, allocations: 133.2 kB / 1.057 GB, free: 59.05 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/1.72, allocations: 106.8 kB / 1.057 GB, free: 58.92 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/1.72, allocations: 301.2 kB / 1.057 GB, free: 58.62 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/1.72, allocations: 25.7 kB / 1.057 GB, free: 58.59 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.536e-05/1.72, allocations: 231.3 kB / 1.058 GB, free: 58.36 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/1.72, allocations: 31.55 kB / 1.058 GB, free: 58.32 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-06/1.72, allocations: 0 / 1.058 GB, free: 58.32 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.071e-05/1.72, allocations: 350.7 kB / 1.058 GB, free: 57.97 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.176e-05/1.72, allocations: 28.38 kB / 1.058 GB, free: 57.95 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.909e-05/1.72, allocations: 165.6 kB / 1.058 GB, free: 57.72 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000351/1.721, allocations: 91.84 kB / 1.058 GB, free: 57.63 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.721, allocations: 0 / 1.058 GB, free: 57.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005088/1.721, allocations: 216.9 kB / 1.058 GB, free: 57.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002621/1.722, allocations: 1.227 MB / 1.06 GB, free: 56.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.722, allocations: 8.062 kB / 1.06 GB, free: 56.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/1.722, allocations: 4 kB / 1.06 GB, free: 56.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006528/1.722, allocations: 111.8 kB / 1.06 GB, free: 55.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006832/1.723, allocations: 1.227 MB / 1.061 GB, free: 54.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/1.723, allocations: 47.84 kB / 1.061 GB, free: 54.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/1.723, allocations: 8 kB / 1.061 GB, free: 54.64 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/1.723, allocations: 5.094 kB / 1.061 GB, free: 54.64 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000219/1.724, allocations: 120 kB / 1.061 GB, free: 54.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-06/1.724, allocations: 4.062 kB / 1.061 GB, free: 54.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.072e-06/1.724, allocations: 8 kB / 1.061 GB, free: 54.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/1.724, allocations: 55.91 kB / 1.061 GB, free: 54.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/1.724, allocations: 4 kB / 1.061 GB, free: 54.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002574/1.724, allocations: 39.81 kB / 1.061 GB, free: 54.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/1.724, allocations: 8 kB / 1.061 GB, free: 54.41 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001188/1.724, allocations: 127.3 kB / 1.061 GB, free: 54.28 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.353e-05/1.724, allocations: 39.53 kB / 1.061 GB, free: 54.24 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004536/1.725, allocations: 169 kB / 1.062 GB, free: 54.07 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/1.725, allocations: 0 / 1.062 GB, free: 54.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.725, allocations: 0 / 1.062 GB, free: 54.07 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/1.725, allocations: 0 / 1.062 GB, free: 54.07 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007862/1.726, allocations: 0.5122 MB / 1.062 GB, free: 53.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/1.726, allocations: 3.906 kB / 1.062 GB, free: 53.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004298/1.726, allocations: 75.91 kB / 1.062 GB, free: 53.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/1.726, allocations: 0 / 1.062 GB, free: 53.43 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/1.726, allocations: 4 kB / 1.062 GB, free: 53.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006626/1.727, allocations: 1.219 MB / 1.063 GB, free: 52.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.727, allocations: 0 / 1.063 GB, free: 52.16 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004138/1.727, allocations: 280.2 kB / 1.064 GB, free: 51.85 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/1.727, allocations: 108.6 kB / 1.064 GB, free: 51.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.81e-05/1.727, allocations: 7.984 kB / 1.064 GB, free: 51.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003344/1.728, allocations: 31.97 kB / 1.064 GB, free: 51.68 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.227e-05/1.728, allocations: 7.906 kB / 1.064 GB, free: 51.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/1.728, allocations: 7.984 kB / 1.064 GB, free: 51.67 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.000232/1.728, allocations: 239.2 kB / 1.064 GB, free: 51.44 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009852/1.729, allocations: 251.4 kB / 1.064 GB, free: 51.19 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001049/1.73, allocations: 334.6 kB / 1.065 GB, free: 50.87 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001026/1.731, allocations: 247.6 kB / 1.065 GB, free: 50.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.731, allocations: 0 / 1.065 GB, free: 50.62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005112/1.732, allocations: 92.09 kB / 1.065 GB, free: 50.54 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007628/1.732, allocations: 142.9 kB / 1.065 GB, free: 50.39 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009482/1.733, allocations: 440.1 kB / 1.065 GB, free: 49.93 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003538/1.734, allocations: 0.8698 MB / 1.066 GB, free: 49.04 MB / 0.5261 GB Notification: Performance of SimCode: time 3.51e-07/1.734, allocations: 0 / 1.066 GB, free: 49.04 MB / 0.5261 GB Notification: Performance of Templates: time 0.01478/1.749, allocations: 7.979 MB / 1.074 GB, free: 41.14 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesParallel.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesParallel.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesParallel.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesParallel.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesParallel.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesParallel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesParallel.pipe 2>&1)