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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.212/2.212, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001174/0.001175, allocations: 180.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.704/1.704, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.0008878/0.0008878, allocations: 95.89 kB / 0.9318 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.004e-05/4.007e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3437, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.042/1.386, allocations: 177.6 MB / 1.392 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000391/1.386, allocations: 90.81 kB / 1.392 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.08328/1.469, allocations: 30.93 MB / 1.422 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.854e-06/1.469, allocations: 0 / 1.422 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.17e-05/1.469, allocations: 12 kB / 1.422 GB, free: 15.98 MB / 0.8855 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.001806/1.471, allocations: 0.7279 MB / 1.423 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/1.471, allocations: 11.97 kB / 1.423 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001391/1.473, allocations: 183.1 kB / 1.423 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007298/1.474, allocations: 365.8 kB / 1.424 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/1.474, allocations: 32.36 kB / 1.424 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/1.474, allocations: 42.8 kB / 1.424 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/1.475, allocations: 0.7723 MB / 1.425 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.267e-05/1.475, allocations: 7.922 kB / 1.425 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.375e-05/1.475, allocations: 20.5 kB / 1.425 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.351e-05/1.475, allocations: 48.56 kB / 1.425 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009773/1.476, allocations: 0.5761 MB / 1.425 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004428/1.481, allocations: 4.604 MB / 1.43 GB, free: 8.852 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000889/1.482, allocations: 468.8 kB / 1.43 GB, free: 8.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003546/1.482, allocations: 248.6 kB / 1.43 GB, free: 8.328 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.663e-05/1.482, allocations: 11.97 kB / 1.43 GB, free: 8.316 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/1.482, allocations: 34.06 kB / 1.43 GB, free: 8.277 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=33): time 1.173e-05/1.482, allocations: 0 / 1.43 GB, free: 8.277 MB / 0.8855 GB Notification: Performance of matching and sorting (n=34): time 0.001214/1.483, allocations: 0.6141 MB / 1.431 GB, free: 7.766 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/1.483, allocations: 84.92 kB / 1.431 GB, free: 7.668 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003625/1.484, allocations: 322.3 kB / 1.431 GB, free: 7.395 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/1.484, allocations: 32.58 kB / 1.431 GB, free: 7.359 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/1.484, allocations: 288 kB / 1.432 GB, free: 7.117 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/1.484, allocations: 120.7 kB / 1.432 GB, free: 7.012 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/1.484, allocations: 11.19 kB / 1.432 GB, free: 7.012 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001564/1.484, allocations: 353 kB / 1.432 GB, free: 6.672 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003433/1.485, allocations: 220 kB / 1.432 GB, free: 6.531 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004995/1.485, allocations: 440.6 kB / 1.433 GB, free: 6.086 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004586/1.486, allocations: 291.3 kB / 1.433 GB, free: 5.883 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/1.486, allocations: 4 kB / 1.433 GB, free: 5.879 MB / 0.8855 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00111/1.487, allocations: 0.6984 MB / 1.434 GB, free: 5.344 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001329/1.488, allocations: 2.793 MB / 1.437 GB, free: 2.379 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/1.488, allocations: 4 kB / 1.437 GB, free: 2.375 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.687e-05/1.488, allocations: 12 kB / 1.437 GB, free: 2.363 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007163/1.489, allocations: 162.1 kB / 1.437 GB, free: 2.211 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-05/1.489, allocations: 23.92 kB / 1.437 GB, free: 2.188 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005635/1.489, allocations: 67.53 kB / 1.437 GB, free: 2.129 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.852e-05/1.49, allocations: 30.55 kB / 1.437 GB, free: 2.105 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/1.49, allocations: 5.25 kB / 1.437 GB, free: 2.102 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008642/1.49, allocations: 0.5408 MB / 1.437 GB, free: 1.691 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.49, allocations: 8.156 kB / 1.437 GB, free: 1.684 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/1.49, allocations: 12 kB / 1.437 GB, free: 1.672 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005359/1.491, allocations: 143 kB / 1.437 GB, free: 1.535 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.198e-05/1.491, allocations: 19.92 kB / 1.437 GB, free: 1.516 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003968/1.491, allocations: 56.66 kB / 1.438 GB, free: 1.469 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.096e-05/1.491, allocations: 30.42 kB / 1.438 GB, free: 1.445 MB / 0.8855 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.0001611/1.492, allocations: 141.9 kB / 1.438 GB, free: 1.312 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/1.492, allocations: 39.53 kB / 1.438 GB, free: 1.273 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009108/1.493, allocations: 0.5238 MB / 1.438 GB, free: 0.8516 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/1.493, allocations: 4 kB / 1.438 GB, free: 0.8477 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.493, allocations: 0 / 1.438 GB, free: 0.8477 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/1.493, allocations: 0 / 1.438 GB, free: 0.8477 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002542/1.495, allocations: 1.548 MB / 1.44 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.631e-05/1.495, allocations: 4.047 kB / 1.44 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000562/1.496, allocations: 131.7 kB / 1.44 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/1.496, allocations: 8 kB / 1.44 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.639e-05/1.496, allocations: 16.38 kB / 1.44 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.22e-05/1.496, allocations: 11.94 kB / 1.44 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.496, allocations: 4 kB / 1.44 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/1.497, allocations: 0.9043 MB / 1.441 GB, free: 13.97 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/1.497, allocations: 168.4 kB / 1.441 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.717e-05/1.497, allocations: 15.98 kB / 1.441 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004214/1.498, allocations: 55.88 kB / 1.441 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/1.498, allocations: 31.86 kB / 1.441 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.302e-05/1.498, allocations: 16 kB / 1.441 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003045/1.498, allocations: 249.2 kB / 1.441 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.61e-07/1.498, allocations: 0 / 1.441 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0009562/1.499, allocations: 208.1 kB / 1.442 GB, free: 13.22 MB / 0.9011 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.0002329/1.499, allocations: 119.1 kB / 1.442 GB, free: 13.1 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001388/1.501, allocations: 0.8198 MB / 1.442 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.501, allocations: 3.938 kB / 1.442 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003979/1.501, allocations: 242.1 kB / 1.443 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006292/1.502, allocations: 105.3 kB / 1.443 GB, free: 11.94 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/1.504, allocations: 0.7809 MB / 1.444 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005776/1.504, allocations: 0.8908 MB / 1.444 GB, free: 10.17 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0006771/1.505, allocations: 207.9 kB / 1.445 GB, free: 9.961 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/1.505, allocations: 39.42 kB / 1.445 GB, free: 9.922 MB / 0.9011 GB Notification: Performance of SimCode: time 6.11e-07/1.505, allocations: 4 kB / 1.445 GB, free: 9.918 MB / 0.9011 GB Notification: Performance of Templates: time 0.01286/1.518, allocations: 6 MB / 1.451 GB, free: 3.961 MB / 0.9011 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)