Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsParallel.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.FixedResistances.Validation.PressureDropsParallel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsParallel") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsParallel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsParallel") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7534/0.7534, allocations: 141.8 MB / 149.1 MB, free: 12.43 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 182.4 kB / 181.9 MB, free: 9.145 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 221.3 MB / 436 MB, free: 1.461 MB / 331 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 101 kB / 0.507 GB, free: 10.31 MB / 395 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002406/0.002406, allocations: 272.5 kB / 0.5884 GB, free: 7.152 MB / 475 MB Notification: Performance of FrontEnd - loaded program: time 7.334e-06/7.354e-06, allocations: 0 / 0.6759 GB, free: 13.52 MB / 0.5577 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4987/0.4987, allocations: 82.76 MB / 0.7567 GB, free: 138.3 MB / 0.5577 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7341/1.233, allocations: 349.8 MB / 1.098 GB, free: 4.148 MB / 0.6358 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003472/1.233, allocations: 83.58 kB / 1.098 GB, free: 4.109 MB / 0.6358 GB Notification: Performance of FrontEnd: time 0.8742/2.108, allocations: 221.6 MB / 1.315 GB, free: 133.8 MB / 0.6983 GB Notification: Performance of Transformations before backend: time 4.844e-05/2.108, allocations: 8 kB / 1.315 GB, free: 133.8 MB / 0.6983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001434/2.109, allocations: 0.6656 MB / 1.315 GB, free: 133.1 MB / 0.6983 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/2.109, allocations: 11.97 kB / 1.315 GB, free: 133.1 MB / 0.6983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/2.109, allocations: 47.44 kB / 1.316 GB, free: 133.1 MB / 0.6983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008647/2.11, allocations: 394.6 kB / 1.316 GB, free: 132.6 MB / 0.6983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.605e-05/2.11, allocations: 46.02 kB / 1.316 GB, free: 132.6 MB / 0.6983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.474e-05/2.11, allocations: 16 kB / 1.316 GB, free: 132.6 MB / 0.6983 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002712/2.111, allocations: 112.9 kB / 1.316 GB, free: 132.5 MB / 0.6983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/2.111, allocations: 170.4 kB / 1.316 GB, free: 132.3 MB / 0.6983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/2.111, allocations: 0 / 1.316 GB, free: 132.3 MB / 0.6983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/2.111, allocations: 0 / 1.316 GB, free: 132.3 MB / 0.6983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/2.111, allocations: 7.906 kB / 1.316 GB, free: 132.3 MB / 0.6983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/2.112, allocations: 1.033 MB / 1.317 GB, free: 131.2 MB / 0.6983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/2.113, allocations: 98.53 kB / 1.317 GB, free: 131.1 MB / 0.6983 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.436e-05/2.113, allocations: 44.84 kB / 1.317 GB, free: 131 MB / 0.6983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003044/2.113, allocations: 336.4 kB / 1.318 GB, free: 130.6 MB / 0.6983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/2.113, allocations: 34.75 kB / 1.318 GB, free: 130.6 MB / 0.6983 GB Notification: Performance of pre-optimization done (n=10): time 1.723e-06/2.113, allocations: 7.938 kB / 1.318 GB, free: 130.6 MB / 0.6983 GB Notification: Performance of matching and sorting (n=10): time 0.0004099/2.114, allocations: 121.4 kB / 1.318 GB, free: 130.4 MB / 0.6983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/2.114, allocations: 55.39 kB / 1.318 GB, free: 130.4 MB / 0.6983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/2.114, allocations: 243.5 kB / 1.318 GB, free: 130.1 MB / 0.6983 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/2.114, allocations: 25.7 kB / 1.318 GB, free: 130.1 MB / 0.6983 GB Notification: Performance of collectInitialEqns (initialization): time 6.633e-05/2.114, allocations: 164.1 kB / 1.318 GB, free: 129.9 MB / 0.6983 GB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/2.114, allocations: 31.5 kB / 1.318 GB, free: 129.9 MB / 0.6983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-06/2.114, allocations: 0 / 1.318 GB, free: 129.9 MB / 0.6983 GB Notification: Performance of setup shared object (initialization): time 8.197e-05/2.114, allocations: 338.7 kB / 1.319 GB, free: 129.5 MB / 0.6983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.82e-05/2.114, allocations: 35.94 kB / 1.319 GB, free: 129.5 MB / 0.6983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.993e-05/2.114, allocations: 83.72 kB / 1.319 GB, free: 129.4 MB / 0.6983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/2.114, allocations: 43.97 kB / 1.319 GB, free: 129.4 MB / 0.6983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/2.114, allocations: 7.938 kB / 1.319 GB, free: 129.4 MB / 0.6983 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002764/2.115, allocations: 133.3 kB / 1.319 GB, free: 129.2 MB / 0.6983 GB Notification: Performance of prepare postOptimizeDAE: time 7.613e-05/2.115, allocations: 274.8 kB / 1.319 GB, free: 128.9 MB / 0.6983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/2.115, allocations: 4 kB / 1.319 GB, free: 128.9 MB / 0.6983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/2.115, allocations: 4.031 kB / 1.319 GB, free: 128.9 MB / 0.6983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/2.115, allocations: 28.11 kB / 1.319 GB, free: 128.9 MB / 0.6983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/2.115, allocations: 4 kB / 1.319 GB, free: 128.9 MB / 0.6983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000292/2.115, allocations: 39.89 kB / 1.319 GB, free: 128.9 MB / 0.6983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/2.115, allocations: 7.906 kB / 1.319 GB, free: 128.8 MB / 0.6983 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-06/2.115, allocations: 4 kB / 1.319 GB, free: 128.8 MB / 0.6983 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002002/2.115, allocations: 75.89 kB / 1.319 GB, free: 128.8 MB / 0.6983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-06/2.115, allocations: 0 / 1.319 GB, free: 128.8 MB / 0.6983 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.597e-06/2.115, allocations: 0 / 1.319 GB, free: 128.8 MB / 0.6983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/2.116, allocations: 32.02 kB / 1.319 GB, free: 128.7 MB / 0.6983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/2.116, allocations: 3.984 kB / 1.319 GB, free: 128.7 MB / 0.6983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/2.116, allocations: 31.97 kB / 1.319 GB, free: 128.7 MB / 0.6983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/2.116, allocations: 8 kB / 1.319 GB, free: 128.7 MB / 0.6983 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 (11): * Single equations (assignments): 11 * 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 7.857e-05/2.116, allocations: 116.8 kB / 1.32 GB, free: 128.6 MB / 0.6983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.708e-05/2.116, allocations: 31.61 kB / 1.32 GB, free: 128.5 MB / 0.6983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003731/2.116, allocations: 176.7 kB / 1.32 GB, free: 128.4 MB / 0.6983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/2.116, allocations: 0 / 1.32 GB, free: 128.4 MB / 0.6983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/2.116, allocations: 12 kB / 1.32 GB, free: 128.4 MB / 0.6983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/2.116, allocations: 0 / 1.32 GB, free: 128.4 MB / 0.6983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006898/2.117, allocations: 0.5482 MB / 1.32 GB, free: 127.8 MB / 0.6983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/2.117, allocations: 0 / 1.32 GB, free: 127.8 MB / 0.6983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/2.117, allocations: 28.08 kB / 1.32 GB, free: 127.7 MB / 0.6983 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/2.117, allocations: 4 kB / 1.32 GB, free: 127.7 MB / 0.6983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/2.117, allocations: 0 / 1.32 GB, free: 127.7 MB / 0.6983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/2.117, allocations: 0 / 1.32 GB, free: 127.7 MB / 0.6983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/2.117, allocations: 4.156 kB / 1.32 GB, free: 127.7 MB / 0.6983 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003039/2.118, allocations: 308.9 kB / 1.321 GB, free: 127.4 MB / 0.6983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/2.118, allocations: 124.7 kB / 1.321 GB, free: 127.2 MB / 0.6983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.263e-05/2.118, allocations: 0 / 1.321 GB, free: 127.2 MB / 0.6983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003084/2.118, allocations: 47.89 kB / 1.321 GB, free: 127.2 MB / 0.6983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/2.118, allocations: 7.984 kB / 1.321 GB, free: 127.2 MB / 0.6983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/2.118, allocations: 8 kB / 1.321 GB, free: 127.2 MB / 0.6983 GB Notification: Performance of sort global known variables: time 0.000147/2.118, allocations: 191.1 kB / 1.321 GB, free: 127 MB / 0.6983 GB Notification: Performance of remove unused functions: time 0.0007202/2.119, allocations: 195.5 kB / 1.321 GB, free: 126.8 MB / 0.6983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0006815/2.12, allocations: 345.8 kB / 1.322 GB, free: 126.5 MB / 0.6983 GB Notification: Performance of simCode: created initialization part: time 0.0002569/2.12, allocations: 137.8 kB / 1.322 GB, free: 126.3 MB / 0.6983 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/2.12, allocations: 0 / 1.322 GB, free: 126.3 MB / 0.6983 GB Notification: Performance of simCode: created simulation system equations: time 8.779e-05/2.12, allocations: 59.92 kB / 1.322 GB, free: 126.3 MB / 0.6983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007947/2.121, allocations: 133.2 kB / 1.322 GB, free: 126.1 MB / 0.6983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000728/2.122, allocations: 371 kB / 1.322 GB, free: 125.8 MB / 0.6983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003016/2.122, allocations: 0.8265 MB / 1.323 GB, free: 124.9 MB / 0.6983 GB Notification: Performance of SimCode: time 2.4e-07/2.122, allocations: 0 / 1.323 GB, free: 124.9 MB / 0.6983 GB Notification: Performance of Templates: time 0.01208/2.134, allocations: 6.677 MB / 1.33 GB, free: 118.3 MB / 0.6983 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsParallel.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsParallel.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsParallel.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsParallel.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsParallel.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsParallel -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsParallel.pipe 2>&1)