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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00139/0.00139, allocations: 108.7 kB / 16.41 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 183.5 kB / 17.34 MB, free: 5.629 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.686/2.686, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 63.91 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9031/0.9046, allocations: 157.4 MB / 1.208 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.006374/0.9111, allocations: 4.22 MB / 1.213 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004962/0.916, allocations: 2.793 MB / 1.215 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003853/0.9165, allocations: 15.88 kB / 1.215 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.9178, allocations: 366 kB / 1.216 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.919, allocations: 422.1 kB / 1.216 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.9204, allocations: 0.5029 MB / 1.217 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001/0.9214, allocations: 0.6892 MB / 1.217 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006158/0.922, allocations: 355 kB / 1.218 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000477/0.9225, allocations: 267 kB / 1.218 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006927/0.9232, allocations: 342.8 kB / 1.218 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.9233, allocations: 36 kB / 1.218 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006562/0.924, allocations: 335.3 kB / 1.218 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002256/0.9242, allocations: 199.4 kB / 1.219 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003269/0.9246, allocations: 250.7 kB / 1.219 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.9256, allocations: 0.7453 MB / 1.22 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.9256, allocations: 0 / 1.22 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9256, allocations: 0 / 1.22 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.344e-05/0.9257, allocations: 4 kB / 1.22 GB, free: 2.176 MB / 0.9356 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.00172/0.9274, allocations: 0.8068 MB / 1.22 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.9274, allocations: 8.031 kB / 1.22 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.9289, allocations: 192 kB / 1.221 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005611/0.9295, allocations: 375.1 kB / 1.221 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/0.9295, allocations: 29.36 kB / 1.221 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-05/0.9296, allocations: 48.34 kB / 1.221 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.9311, allocations: 0.8487 MB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.9311, allocations: 11.94 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.024e-05/0.9312, allocations: 12 kB / 1.222 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.32e-05/0.9313, allocations: 64.61 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001381/0.9327, allocations: 0.6619 MB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004483/0.9371, allocations: 4.658 MB / 1.227 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.9383, allocations: 0.5014 MB / 1.228 GB, free: 9.414 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005205/0.9389, allocations: 277.5 kB / 1.228 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.9389, allocations: 11.92 kB / 1.228 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.554e-05/0.939, allocations: 42.56 kB / 1.228 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=33): time 2.745e-06/0.939, allocations: 0 / 1.228 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of matching and sorting (n=34): time 0.001948/0.9409, allocations: 0.8864 MB / 1.229 GB, free: 8.18 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.941, allocations: 85.09 kB / 1.229 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000437/0.9414, allocations: 377.4 kB / 1.229 GB, free: 7.703 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/0.9415, allocations: 29.7 kB / 1.229 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.9417, allocations: 279.1 kB / 1.23 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.9418, allocations: 130.2 kB / 1.23 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/0.942, allocations: 122 kB / 1.23 GB, free: 7.133 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.9422, allocations: 354.7 kB / 1.23 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005738/0.9428, allocations: 262.9 kB / 1.23 GB, free: 6.52 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000724/0.9435, allocations: 482.5 kB / 1.231 GB, free: 5.941 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.9448, allocations: 0.7721 MB / 1.232 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.004e-06/0.9448, allocations: 4 kB / 1.232 GB, free: 5.066 MB / 0.9512 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001591/0.9464, allocations: 0.7904 MB / 1.232 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.9464, allocations: 8 kB / 1.232 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.9464, allocations: 4 kB / 1.232 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.727e-05/0.9465, allocations: 16.03 kB / 1.232 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007856/0.9473, allocations: 164.3 kB / 1.233 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.321e-05/0.9473, allocations: 19.92 kB / 1.233 GB, free: 4.062 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006094/0.9479, allocations: 71.77 kB / 1.233 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-05/0.948, allocations: 28 kB / 1.233 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006683/0.9487, allocations: 369 kB / 1.233 GB, free: 3.602 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006234/0.9493, allocations: 449.4 kB / 1.233 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00108/0.9504, allocations: 0.6793 MB / 1.234 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.304e-06/0.9504, allocations: 4 kB / 1.234 GB, free: 2.254 MB / 0.9512 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001392/0.9518, allocations: 0.6865 MB / 1.235 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.9518, allocations: 8 kB / 1.235 GB, free: 1.555 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.9518, allocations: 8 kB / 1.235 GB, free: 1.547 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.9519, allocations: 12 kB / 1.235 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006054/0.9525, allocations: 148.3 kB / 1.235 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/0.9525, allocations: 19.94 kB / 1.235 GB, free: 1.371 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005547/0.9531, allocations: 59.78 kB / 1.235 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.625e-05/0.9531, allocations: 28 kB / 1.235 GB, free: 1.285 MB / 0.9512 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.0002404/0.9534, allocations: 224.2 kB / 1.235 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.9535, allocations: 39.53 kB / 1.235 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.9547, allocations: 0.5795 MB / 1.236 GB, free: 444 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.9547, allocations: 4 kB / 1.236 GB, free: 440 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.9547, allocations: 0 / 1.236 GB, free: 440 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.9548, allocations: 4 kB / 1.236 GB, free: 436 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002644/0.9574, allocations: 1.607 MB / 1.237 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/0.9574, allocations: 7.938 kB / 1.237 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005631/0.958, allocations: 116.3 kB / 1.238 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.958, allocations: 11.94 kB / 1.238 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.068e-05/0.9581, allocations: 8 kB / 1.238 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-05/0.9581, allocations: 15.92 kB / 1.238 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.9581, allocations: 4 kB / 1.238 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.9592, allocations: 0.7795 MB / 1.238 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/0.9595, allocations: 168.4 kB / 1.239 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.013e-05/0.9596, allocations: 8 kB / 1.239 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004887/0.9601, allocations: 59.92 kB / 1.239 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.386e-05/0.9602, allocations: 31.84 kB / 1.239 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.9602, allocations: 12 kB / 1.239 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000377/0.9606, allocations: 271.1 kB / 1.239 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9606, allocations: 8 kB / 1.239 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009262/0.9615, allocations: 192 kB / 1.239 GB, free: 12.96 MB / 0.9669 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.0001703/0.9617, allocations: 111.1 kB / 1.239 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001909/0.9636, allocations: 0.9356 MB / 1.24 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.9636, allocations: 0 / 1.24 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004922/0.9641, allocations: 273.3 kB / 1.24 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008624/0.965, allocations: 131.3 kB / 1.24 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.9668, allocations: 1.06 MB / 1.242 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005007/0.9673, allocations: 0.867 MB / 1.242 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.9675, allocations: 47.42 kB / 1.242 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of SimCode: time 7.11e-07/0.9675, allocations: 0 / 1.242 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of Templates: time 0.0109/0.9784, allocations: 6.658 MB / 1.249 GB, free: 2.816 MB / 0.9669 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)