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.429/2.429, allocations: 393.5 MB / 408.4 MB, free: 10.94 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.001062/0.001062, allocations: 183.8 kB / 0.4902 GB, free: 2.215 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.68/1.68, allocations: 223.1 MB / 0.7992 GB, free: 14.64 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.001035/0.001035, allocations: 114.3 kB / 0.9396 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003978/0.000398, allocations: 10.75 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2715, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2265/0.498, allocations: 177.6 MB / 1.403 GB, free: 7.77 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/0.4984, allocations: 95.94 kB / 1.403 GB, free: 7.676 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.7732/1.272, allocations: 31.09 MB / 1.433 GB, free: 180.8 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.044e-06/1.272, allocations: 3.344 kB / 1.433 GB, free: 180.8 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.115e-05/1.272, allocations: 13.19 kB / 1.433 GB, free: 180.8 MB / 0.9167 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.001575/1.273, allocations: 0.7552 MB / 1.434 GB, free: 180.3 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/1.273, allocations: 10 kB / 1.434 GB, free: 180.3 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/1.275, allocations: 185.9 kB / 1.434 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006492/1.275, allocations: 362.6 kB / 1.434 GB, free: 180 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.246e-05/1.275, allocations: 33.25 kB / 1.434 GB, free: 180 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/1.276, allocations: 42.88 kB / 1.434 GB, free: 180 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/1.277, allocations: 0.8123 MB / 1.435 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/1.277, allocations: 7.75 kB / 1.435 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.754e-05/1.277, allocations: 27.59 kB / 1.435 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/1.277, allocations: 48.77 kB / 1.435 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/1.279, allocations: 0.6549 MB / 1.436 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004201/1.283, allocations: 4.618 MB / 1.441 GB, free: 176 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/1.284, allocations: 0.49 MB / 1.441 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/1.284, allocations: 7.953 kB / 1.441 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/1.284, allocations: 37.22 kB / 1.441 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=33): time 3.807e-06/1.284, allocations: 5.312 kB / 1.441 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=34): time 0.00207/1.286, allocations: 0.8997 MB / 1.442 GB, free: 175.7 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/1.286, allocations: 82.92 kB / 1.442 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003902/1.287, allocations: 319.4 kB / 1.442 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/1.287, allocations: 30.83 kB / 1.442 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/1.287, allocations: 290.8 kB / 1.443 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/1.287, allocations: 124.3 kB / 1.443 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/1.287, allocations: 17.09 kB / 1.443 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001084/1.287, allocations: 348.6 kB / 1.443 GB, free: 174.9 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005139/1.288, allocations: 255.5 kB / 1.443 GB, free: 174.9 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006291/1.288, allocations: 476.8 kB / 1.444 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006101/1.289, allocations: 337 kB / 1.444 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/1.289, allocations: 0 / 1.444 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001441/1.29, allocations: 0.7746 MB / 1.445 GB, free: 174.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.00056/1.291, allocations: 2.785 MB / 1.448 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/1.291, allocations: 8.312 kB / 1.448 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.229e-05/1.291, allocations: 12.03 kB / 1.448 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007541/1.292, allocations: 164.9 kB / 1.448 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.336e-05/1.292, allocations: 17.77 kB / 1.448 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005511/1.292, allocations: 76.69 kB / 1.448 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.506e-05/1.292, allocations: 27.05 kB / 1.448 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/1.292, allocations: 4.938 kB / 1.448 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001158/1.294, allocations: 0.6098 MB / 1.448 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/1.294, allocations: 8.422 kB / 1.448 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/1.294, allocations: 11.44 kB / 1.448 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005776/1.294, allocations: 148.8 kB / 1.449 GB, free: 171.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/1.294, allocations: 17.45 kB / 1.449 GB, free: 171.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003601/1.295, allocations: 56.86 kB / 1.449 GB, free: 171.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.985e-05/1.295, allocations: 30.45 kB / 1.449 GB, free: 171.4 MB / 0.9167 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 () * Number of clocked 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.0003508/1.295, allocations: 283.7 kB / 1.449 GB, free: 171.2 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/1.295, allocations: 39.62 kB / 1.449 GB, free: 171.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/1.296, allocations: 0.5847 MB / 1.45 GB, free: 171.1 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/1.296, allocations: 3.906 kB / 1.45 GB, free: 171.1 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/1.296, allocations: 4.938 kB / 1.45 GB, free: 171.1 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/1.296, allocations: 3.609 kB / 1.45 GB, free: 171.1 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002662/1.299, allocations: 1.616 MB / 1.451 GB, free: 170.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.299, allocations: 11.06 kB / 1.451 GB, free: 170.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005641/1.3, allocations: 121.6 kB / 1.451 GB, free: 170.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/1.3, allocations: 4.812 kB / 1.451 GB, free: 170.6 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/1.3, allocations: 13.59 kB / 1.451 GB, free: 170.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/1.3, allocations: 12.09 kB / 1.451 GB, free: 170.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/1.3, allocations: 4.969 kB / 1.451 GB, free: 170.6 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/1.301, allocations: 0.9867 MB / 1.452 GB, free: 170 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002441/1.301, allocations: 170.5 kB / 1.452 GB, free: 169.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.542e-05/1.301, allocations: 12.28 kB / 1.452 GB, free: 169.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004113/1.302, allocations: 45.92 kB / 1.453 GB, free: 169.9 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/1.302, allocations: 44.12 kB / 1.453 GB, free: 169.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.355e-05/1.302, allocations: 10.84 kB / 1.453 GB, free: 169.8 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002851/1.302, allocations: 252.8 kB / 1.453 GB, free: 169.8 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.5e-07/1.302, allocations: 3.312 kB / 1.453 GB, free: 169.8 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001198/1.303, allocations: 196.7 kB / 1.453 GB, free: 169.8 MB / 0.9167 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 () * Number of clocked 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.0001864/1.303, allocations: 127.2 kB / 1.453 GB, free: 169.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002013/1.305, allocations: 0.929 MB / 1.454 GB, free: 169.6 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.305, allocations: 0 / 1.454 GB, free: 169.6 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005829/1.306, allocations: 279.3 kB / 1.454 GB, free: 169.6 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000732/1.307, allocations: 107.5 kB / 1.454 GB, free: 169.6 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/1.309, allocations: 1.216 MB / 1.456 GB, free: 168.9 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/1.309, allocations: 0.8811 MB / 1.456 GB, free: 168.2 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0006593/1.31, allocations: 200.2 kB / 1.457 GB, free: 168.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/1.31, allocations: 43.14 kB / 1.457 GB, free: 168.2 MB / 0.9167 GB Notification: Performance of SimCode: time 1.482e-06/1.31, allocations: 2.625 kB / 1.457 GB, free: 168.2 MB / 0.9167 GB Notification: Performance of Templates: time 0.01113/1.321, allocations: 5.553 MB / 1.462 GB, free: 167.9 MB / 0.9167 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)