Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|varRL.i.1.|varRL.i.2.|RL.i.1.|RL.i.2.|varRC.i.1.|varRC.i.2.|RC.i.1.|RC.i.2.|R.i.1.|R.i.2.|RL.S.1.|RL.S.2.|RC.S.1.|RC.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|varRL.i.1.|varRL.i.2.|RL.i.1.|RL.i.2.|varRC.i.1.|varRC.i.2.|RC.i.1.|RC.i.2.|R.i.1.|R.i.2.|RL.S.1.|RL.S.2.|RC.S.1.|RC.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") [: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 10.0.0-master/package.mo): time 1.697/1.697, allocations: 390.4 MB / 397.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008949/0.0008949, allocations: 169.4 kB / 490.8 MB, free: 1.918 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.053/1.053, allocations: 221.4 MB / 0.7863 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008032/0.0008033, allocations: 94.92 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.5e-06/5.591e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1647, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4459/0.6107, allocations: 176.8 MB / 1.384 GB, free: 17.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/0.6109, allocations: 89.12 kB / 1.384 GB, free: 17.03 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.05909/0.67, allocations: 30.4 MB / 1.414 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.069e-05/0.6701, allocations: 12 kB / 1.414 GB, free: 14.19 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001017/0.6711, allocations: 0.7206 MB / 1.415 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.827e-05/0.6711, allocations: 8.031 kB / 1.415 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.6722, allocations: 175.1 kB / 1.415 GB, free: 13.28 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004372/0.6727, allocations: 365.4 kB / 1.415 GB, free: 12.92 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.6727, allocations: 12 kB / 1.415 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.724e-05/0.6728, allocations: 24 kB / 1.415 GB, free: 12.88 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006242/0.6734, allocations: 485.4 kB / 1.416 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007678/0.6742, allocations: 0.7258 MB / 1.416 GB, free: 11.87 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.6742, allocations: 7.938 kB / 1.416 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.284e-05/0.6743, allocations: 4 kB / 1.416 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.044e-05/0.6743, allocations: 47.94 kB / 1.417 GB, free: 11.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003072/0.6774, allocations: 4.515 MB / 1.421 GB, free: 7.297 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005748/0.678, allocations: 436 kB / 1.421 GB, free: 6.961 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/0.6783, allocations: 249.5 kB / 1.422 GB, free: 6.785 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.6783, allocations: 10.05 kB / 1.422 GB, free: 6.777 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.6783, allocations: 37.86 kB / 1.422 GB, free: 6.734 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=33): time 1.432e-06/0.6783, allocations: 4 kB / 1.422 GB, free: 6.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34): time 0.000883/0.6792, allocations: 0.6117 MB / 1.422 GB, free: 6.215 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.6793, allocations: 81.11 kB / 1.422 GB, free: 6.117 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.6795, allocations: 286 kB / 1.423 GB, free: 5.887 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.6795, allocations: 25.7 kB / 1.423 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.6796, allocations: 268.3 kB / 1.423 GB, free: 5.613 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.841e-05/0.6797, allocations: 115.2 kB / 1.423 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.663e-05/0.6798, allocations: 4 kB / 1.423 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.106e-05/0.6799, allocations: 352.3 kB / 1.423 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.6801, allocations: 217.5 kB / 1.424 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003521/0.6805, allocations: 438.7 kB / 1.424 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.6808, allocations: 294 kB / 1.424 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6808, allocations: 0 / 1.424 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008216/0.6817, allocations: 0.6676 MB / 1.425 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007113/0.6824, allocations: 2.785 MB / 1.428 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.6824, allocations: 8 kB / 1.428 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.6824, allocations: 12 kB / 1.428 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006628/0.6831, allocations: 154.1 kB / 1.428 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.6831, allocations: 19.92 kB / 1.428 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004378/0.6835, allocations: 59.7 kB / 1.428 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.366e-05/0.6836, allocations: 23.06 kB / 1.428 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.26e-06/0.6836, allocations: 4 kB / 1.428 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005997/0.6842, allocations: 486.1 kB / 1.428 GB, free: 268 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.6842, allocations: 8 kB / 1.428 GB, free: 260 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.6842, allocations: 12 kB / 1.428 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005119/0.6848, allocations: 147 kB / 1.428 GB, free: 108 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.6848, allocations: 20.05 kB / 1.429 GB, free: 88 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/0.6851, allocations: 43.81 kB / 1.429 GB, free: 44 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.6851, allocations: 23.44 kB / 1.429 GB, free: 24 kB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * 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 0.0001238/0.6853, allocations: 127.8 kB / 1.429 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.153e-05/0.6854, allocations: 43.53 kB / 1.429 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006662/0.686, allocations: 0.5132 MB / 1.429 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.686, allocations: 7.906 kB / 1.429 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.6861, allocations: 0 / 1.429 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.6861, allocations: 4 kB / 1.429 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/0.6879, allocations: 1.484 MB / 1.431 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.6879, allocations: 8 kB / 1.431 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005421/0.6884, allocations: 107.1 kB / 1.431 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.6885, allocations: 4 kB / 1.431 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.6885, allocations: 4 kB / 1.431 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.6885, allocations: 20.02 kB / 1.431 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.6885, allocations: 4 kB / 1.431 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007118/0.6892, allocations: 0.9126 MB / 1.432 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/0.6894, allocations: 172.7 kB / 1.432 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.489e-05/0.6895, allocations: 7.938 kB / 1.432 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003877/0.6899, allocations: 39.95 kB / 1.432 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.96e-05/0.6899, allocations: 34.38 kB / 1.432 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/0.69, allocations: 12 kB / 1.432 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0001627/0.6901, allocations: 222.5 kB / 1.432 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006746/0.6908, allocations: 180 kB / 1.432 GB, free: 12.45 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * 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.0001164/0.6909, allocations: 118.6 kB / 1.432 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009087/0.6919, allocations: 0.8062 MB / 1.433 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6919, allocations: 0 / 1.433 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003/0.6922, allocations: 250.3 kB / 1.434 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005082/0.6927, allocations: 95.8 kB / 1.434 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.6939, allocations: 0.8169 MB / 1.434 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005064/0.6944, allocations: 0.9225 MB / 1.435 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of SimCode: time 3.3e-07/0.6944, allocations: 0 / 1.435 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of Templates: time 0.01041/0.7048, allocations: 7.674 MB / 1.443 GB, free: 2.164 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)