Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop") [: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/BuildSysPro 3.5.0/package.mo): time 0.7018/0.7018, allocations: 127.4 MB / 134.6 MB, free: 4.09 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001221/0.001221, allocations: 181.3 kB / 164.4 MB, free: 6.879 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.747/1.747, allocations: 205.1 MB / 399.1 MB, free: 6.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009629/0.0009629, allocations: 91.27 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.574e-06/7.604e-06, allocations: 0 / 0.546 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1882, allocations: 76.75 MB / 0.6209 GB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.016/5.205, allocations: 2.137 GB / 2.758 GB, free: 76.62 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/5.205, allocations: 85.64 kB / 2.758 GB, free: 76.54 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.7234/5.928, allocations: 219 MB / 2.972 GB, free: 108.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.704e-05/5.928, allocations: 11.98 kB / 2.972 GB, free: 108.7 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000807/5.929, allocations: 0.56 MB / 2.972 GB, free: 108.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/5.929, allocations: 8.031 kB / 2.972 GB, free: 108.1 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000356/5.93, allocations: 59.66 kB / 2.972 GB, free: 108 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004393/5.93, allocations: 305.4 kB / 2.973 GB, free: 107.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/5.93, allocations: 4 kB / 2.973 GB, free: 107.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/5.93, allocations: 8 kB / 2.973 GB, free: 107.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001822/5.93, allocations: 95.97 kB / 2.973 GB, free: 107.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/5.931, allocations: 129.5 kB / 2.973 GB, free: 107.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/5.931, allocations: 8 kB / 2.973 GB, free: 107.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/5.931, allocations: 0 / 2.973 GB, free: 107.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/5.931, allocations: 0 / 2.973 GB, free: 107.4 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007607/5.931, allocations: 0.5857 MB / 2.973 GB, free: 106.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/5.932, allocations: 90.72 kB / 2.974 GB, free: 106.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.105e-05/5.932, allocations: 52.84 kB / 2.974 GB, free: 106.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002396/5.932, allocations: 186.4 kB / 2.974 GB, free: 106.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/5.932, allocations: 38.5 kB / 2.974 GB, free: 106.4 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/5.932, allocations: 4 kB / 2.974 GB, free: 106.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0007044/5.933, allocations: 173.4 kB / 2.974 GB, free: 106.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.821e-05/5.933, allocations: 55.5 kB / 2.974 GB, free: 106.1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/5.933, allocations: 184.1 kB / 2.974 GB, free: 105.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/5.933, allocations: 25.7 kB / 2.974 GB, free: 105.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.514e-05/5.933, allocations: 136.1 kB / 2.974 GB, free: 105.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/5.933, allocations: 27.56 kB / 2.974 GB, free: 105.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.837e-06/5.933, allocations: 4 kB / 2.974 GB, free: 105.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.319e-05/5.933, allocations: 330.8 kB / 2.975 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.243e-05/5.933, allocations: 27.98 kB / 2.975 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.369e-05/5.933, allocations: 86 kB / 2.975 GB, free: 105.3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.448e-05/5.933, allocations: 39.97 kB / 2.975 GB, free: 105.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/5.933, allocations: 0 / 2.975 GB, free: 105.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001839/5.933, allocations: 129.3 kB / 2.975 GB, free: 105.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.621e-05/5.933, allocations: 267 kB / 2.975 GB, free: 104.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/5.933, allocations: 3.906 kB / 2.975 GB, free: 104.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/5.933, allocations: 4 kB / 2.975 GB, free: 104.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/5.934, allocations: 35.91 kB / 2.975 GB, free: 104.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/5.934, allocations: 7.938 kB / 2.975 GB, free: 104.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/5.934, allocations: 24.11 kB / 2.975 GB, free: 104.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/5.934, allocations: 8 kB / 2.975 GB, free: 104.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.522e-06/5.934, allocations: 4 kB / 2.975 GB, free: 104.7 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001095/5.934, allocations: 71.88 kB / 2.975 GB, free: 104.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-06/5.934, allocations: 4 kB / 2.975 GB, free: 104.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-06/5.934, allocations: 0 / 2.975 GB, free: 104.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/5.934, allocations: 27.98 kB / 2.975 GB, free: 104.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/5.934, allocations: 3.906 kB / 2.975 GB, free: 104.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/5.934, allocations: 23.92 kB / 2.975 GB, free: 104.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/5.934, allocations: 4 kB / 2.975 GB, free: 104.6 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (9): * Single equations (assignments): 9 * 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 5.77e-05/5.934, allocations: 104.9 kB / 2.976 GB, free: 104.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.07e-05/5.935, allocations: 23.72 kB / 2.976 GB, free: 104.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.486e-05/5.935, allocations: 21.7 kB / 2.976 GB, free: 104.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/5.935, allocations: 0 / 2.976 GB, free: 104.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/5.935, allocations: 0 / 2.976 GB, free: 104.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/5.935, allocations: 4 kB / 2.976 GB, free: 104.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005871/5.935, allocations: 0.5155 MB / 2.976 GB, free: 103.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/5.935, allocations: 0 / 2.976 GB, free: 103.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/5.935, allocations: 36.16 kB / 2.976 GB, free: 103.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/5.935, allocations: 4 kB / 2.976 GB, free: 103.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/5.935, allocations: 0 / 2.976 GB, free: 103.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/5.935, allocations: 8.125 kB / 2.976 GB, free: 103.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/5.935, allocations: 0 / 2.976 GB, free: 103.8 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002209/5.936, allocations: 338.5 kB / 2.976 GB, free: 103.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.184e-05/5.936, allocations: 96.83 kB / 2.977 GB, free: 103.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.78e-05/5.936, allocations: 4 kB / 2.977 GB, free: 103.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/5.936, allocations: 27.97 kB / 2.977 GB, free: 103.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/5.936, allocations: 7.984 kB / 2.977 GB, free: 103.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/5.936, allocations: 8.062 kB / 2.977 GB, free: 103.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.233e-05/5.936, allocations: 152.4 kB / 2.977 GB, free: 103.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005493/5.937, allocations: 147.8 kB / 2.977 GB, free: 103 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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): 9 * 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.001106/5.938, allocations: 1.037 MB / 2.978 GB, free: 101.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002299/5.938, allocations: 133.2 kB / 2.978 GB, free: 101.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/5.938, allocations: 0 / 2.978 GB, free: 101.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.352e-05/5.938, allocations: 47.92 kB / 2.978 GB, free: 101.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006087/5.939, allocations: 95.2 kB / 2.978 GB, free: 101.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005013/5.939, allocations: 301.8 kB / 2.978 GB, free: 101.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/5.94, allocations: 0.7789 MB / 2.979 GB, free: 100.5 MB / 0.6355 GB Notification: Performance of SimCode: time 2.51e-07/5.94, allocations: 0 / 2.979 GB, free: 100.5 MB / 0.6355 GB Notification: Performance of Templates: time 0.01307/5.953, allocations: 9.1 MB / 2.988 GB, free: 91.45 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)