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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008708/0.0008708, allocations: 99.19 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009686/0.0009686, allocations: 182.5 kB / 16.92 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.765/2.765, allocations: 462.7 MB / 0.737 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003775, allocations: 11.22 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.359, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.005348/0.3644, allocations: 3.854 MB / 1.063 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0053/0.3698, allocations: 2.79 MB / 1.066 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004712/0.3703, allocations: 7.938 kB / 1.066 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003663/0.3707, allocations: 67.42 kB / 1.066 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00126/0.372, allocations: 378.5 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.3733, allocations: 490.1 kB / 1.067 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001121/0.3745, allocations: 0.9856 MB / 1.068 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009691/0.3755, allocations: 0.5316 MB / 1.068 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003913/0.3759, allocations: 219.1 kB / 1.068 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005911/0.3765, allocations: 334.8 kB / 1.069 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.56e-05/0.3765, allocations: 16 kB / 1.069 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000677/0.3772, allocations: 419.1 kB / 1.069 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.3775, allocations: 171.5 kB / 1.069 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000293/0.3778, allocations: 256.4 kB / 1.07 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006902/0.3785, allocations: 0.5456 MB / 1.07 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.3785, allocations: 4 kB / 1.07 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3785, allocations: 0 / 1.07 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2e-05/0.3785, allocations: 3.938 kB / 1.07 GB, free: 9.879 MB / 0.8262 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.001559/0.3801, allocations: 0.7213 MB / 1.071 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.3801, allocations: 11.97 kB / 1.071 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001429/0.3816, allocations: 196 kB / 1.071 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005728/0.3821, allocations: 359.1 kB / 1.071 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/0.3822, allocations: 37.25 kB / 1.071 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.3823, allocations: 48.27 kB / 1.071 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.3838, allocations: 0.8488 MB / 1.072 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.3839, allocations: 4 kB / 1.072 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.437e-05/0.3839, allocations: 19.98 kB / 1.072 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-05/0.384, allocations: 64.61 kB / 1.072 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.3855, allocations: 0.6931 MB / 1.073 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004835/0.3903, allocations: 4.666 MB / 1.078 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.3916, allocations: 0.5088 MB / 1.078 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005422/0.3921, allocations: 297.4 kB / 1.078 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.381e-05/0.3922, allocations: 4 kB / 1.078 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.3922, allocations: 42.56 kB / 1.078 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=33): time 2.825e-06/0.3922, allocations: 0 / 1.078 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.002041/0.3943, allocations: 0.9138 MB / 1.079 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/0.3943, allocations: 85.09 kB / 1.079 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004899/0.3948, allocations: 369.5 kB / 1.08 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.109e-05/0.3949, allocations: 37.64 kB / 1.08 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.3951, allocations: 291 kB / 1.08 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.3953, allocations: 122.3 kB / 1.08 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.341e-05/0.3954, allocations: 45.7 kB / 1.08 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3955, allocations: 358.7 kB / 1.081 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005676/0.3961, allocations: 272.9 kB / 1.081 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007275/0.3968, allocations: 494.6 kB / 1.081 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.3982, allocations: 0.7844 MB / 1.082 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.3982, allocations: 4 kB / 1.082 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00163/0.3998, allocations: 0.8097 MB / 1.083 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002998/0.4001, allocations: 299.8 kB / 1.083 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.4002, allocations: 8 kB / 1.083 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.561e-05/0.4002, allocations: 16 kB / 1.083 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007795/0.401, allocations: 171.7 kB / 1.083 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.171e-05/0.401, allocations: 15.88 kB / 1.083 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005951/0.4016, allocations: 79.77 kB / 1.083 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.726e-05/0.4017, allocations: 31.98 kB / 1.083 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.4017, allocations: 4 kB / 1.083 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001317/0.403, allocations: 0.6323 MB / 1.084 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.4031, allocations: 8.125 kB / 1.084 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.4031, allocations: 16 kB / 1.084 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005978/0.4037, allocations: 155.7 kB / 1.084 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.4037, allocations: 15.92 kB / 1.084 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004803/0.4042, allocations: 67.7 kB / 1.084 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.775e-05/0.4042, allocations: 28 kB / 1.084 GB, free: 10.36 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003588/0.4046, allocations: 289.1 kB / 1.085 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.4047, allocations: 39.53 kB / 1.085 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/0.406, allocations: 0.599 MB / 1.085 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.406, allocations: 8 kB / 1.085 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.406, allocations: 3.984 kB / 1.085 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.406, allocations: 0 / 1.085 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002712/0.4088, allocations: 1.634 MB / 1.087 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.4088, allocations: 4 kB / 1.087 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005702/0.4094, allocations: 124.3 kB / 1.087 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/0.4094, allocations: 4 kB / 1.087 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/0.4094, allocations: 8 kB / 1.087 GB, free: 7.531 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.034e-05/0.4094, allocations: 15.92 kB / 1.087 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-06/0.4094, allocations: 7.938 kB / 1.087 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.4107, allocations: 0.8001 MB / 1.088 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002471/0.4109, allocations: 172.4 kB / 1.088 GB, free: 6.457 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.779e-05/0.411, allocations: 11.98 kB / 1.088 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004858/0.4115, allocations: 51.94 kB / 1.088 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.4116, allocations: 43.88 kB / 1.088 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.4117, allocations: 12 kB / 1.088 GB, free: 6.34 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003822/0.412, allocations: 275.1 kB / 1.088 GB, free: 6.074 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.2e-07/0.4121, allocations: 0 / 1.088 GB, free: 6.074 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009746/0.413, allocations: 200 kB / 1.088 GB, free: 5.879 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001562/0.4132, allocations: 111.1 kB / 1.089 GB, free: 5.762 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001948/0.4152, allocations: 0.9514 MB / 1.09 GB, free: 4.812 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4152, allocations: 0 / 1.09 GB, free: 4.812 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005068/0.4157, allocations: 290.2 kB / 1.09 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.4167, allocations: 111.7 kB / 1.09 GB, free: 4.422 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.4186, allocations: 1.269 MB / 1.091 GB, free: 3.074 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004843/0.4191, allocations: 0.8634 MB / 1.092 GB, free: 2.184 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002162/0.4193, allocations: 47.42 kB / 1.092 GB, free: 2.137 MB / 0.8419 GB Notification: Performance of SimCode: time 1.092e-06/0.4193, allocations: 0 / 1.092 GB, free: 2.137 MB / 0.8419 GB Notification: Performance of Templates: time 0.01138/0.4307, allocations: 6.556 MB / 1.098 GB, free: 11.61 MB / 0.8575 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)