Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 91.61 kB / 15.36 MB, free: 0.7383 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.009214/0.009214, allocations: 170.1 kB / 16.26 MB, free: 6.613 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.386/1.386, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.812/2.812, allocations: 473.4 MB / 0.7469 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003681, allocations: 8.938 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3719, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003762/0.3757, allocations: 2.758 MB / 1.077 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002848/0.3786, allocations: 1.897 MB / 1.079 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.3787, allocations: 7.938 kB / 1.079 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001851/0.3789, allocations: 27.78 kB / 1.079 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005175/0.3795, allocations: 187.2 kB / 1.079 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005201/0.38, allocations: 211.5 kB / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004368/0.3804, allocations: 450.7 kB / 1.08 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006012/0.3811, allocations: 333.9 kB / 1.08 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.3812, allocations: 111.5 kB / 1.08 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000276/0.3815, allocations: 139.5 kB / 1.08 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.3816, allocations: 12 kB / 1.08 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006546/0.3822, allocations: 475.1 kB / 1.081 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.358e-05/0.3823, allocations: 75.78 kB / 1.081 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.3824, allocations: 137.1 kB / 1.081 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005797/0.383, allocations: 490.5 kB / 1.081 GB, free: 244 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3831, allocations: 4 kB / 1.081 GB, free: 240 kB / 0.8262 GB Notification: Performance of FrontEnd: time 2.314e-06/0.3831, allocations: 0 / 1.081 GB, free: 240 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3831, allocations: 0 / 1.081 GB, free: 240 kB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008179/0.3839, allocations: 0.5146 MB / 1.082 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3839, allocations: 12.03 kB / 1.082 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007882/0.3847, allocations: 108.5 kB / 1.082 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.3851, allocations: 263.8 kB / 1.082 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.3851, allocations: 16.81 kB / 1.082 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/0.3851, allocations: 16.38 kB / 1.082 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005416/0.3857, allocations: 357.2 kB / 1.082 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.3857, allocations: 11.94 kB / 1.082 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.21e-05/0.3857, allocations: 7.984 kB / 1.082 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.455e-05/0.3858, allocations: 32.36 kB / 1.083 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004515/0.3863, allocations: 289.5 kB / 1.083 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002115/0.3884, allocations: 1.729 MB / 1.084 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004776/0.3889, allocations: 338 kB / 1.085 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.389, allocations: 105.6 kB / 1.085 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.3892, allocations: 89.09 kB / 1.085 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.3892, allocations: 34.84 kB / 1.085 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.3892, allocations: 0 / 1.085 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23): time 0.002399/0.3916, allocations: 0.9792 MB / 1.086 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.3917, allocations: 89.08 kB / 1.086 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.3919, allocations: 207.8 kB / 1.086 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.3919, allocations: 29.7 kB / 1.086 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.392, allocations: 172.1 kB / 1.086 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.594e-05/0.3921, allocations: 78.86 kB / 1.087 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/0.3922, allocations: 29.7 kB / 1.087 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.3923, allocations: 330.8 kB / 1.087 GB, free: 10 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.3925, allocations: 131.9 kB / 1.087 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.3927, allocations: 217.2 kB / 1.087 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004966/0.3932, allocations: 359.2 kB / 1.088 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3933, allocations: 0 / 1.088 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008079/0.3941, allocations: 0.507 MB / 1.088 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.3941, allocations: 8 kB / 1.088 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.3941, allocations: 7.984 kB / 1.088 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000519/0.3946, allocations: 163.5 kB / 1.088 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.3949, allocations: 59.91 kB / 1.088 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002804/0.3977, allocations: 3.969 MB / 1.092 GB, free: 4.188 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.3979, allocations: 24 kB / 1.092 GB, free: 4.164 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.3979, allocations: 8 kB / 1.092 GB, free: 4.156 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001832/0.3981, allocations: 169.7 kB / 1.092 GB, free: 3.98 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.134e-05/0.3982, allocations: 19.75 kB / 1.092 GB, free: 3.961 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008446/0.399, allocations: 478.5 kB / 1.093 GB, free: 3.48 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.399, allocations: 4 kB / 1.093 GB, free: 3.477 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.3991, allocations: 4 kB / 1.093 GB, free: 3.473 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3991, allocations: 3.984 kB / 1.093 GB, free: 3.469 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/0.4005, allocations: 1.009 MB / 1.094 GB, free: 2.367 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.4006, allocations: 4.094 kB / 1.094 GB, free: 2.363 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.4007, allocations: 39.8 kB / 1.094 GB, free: 2.324 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004233/0.4011, allocations: 151.6 kB / 1.094 GB, free: 2.164 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.4012, allocations: 15.88 kB / 1.094 GB, free: 2.148 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0027/0.4039, allocations: 3.942 MB / 1.098 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.4039, allocations: 4 kB / 1.098 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007948/0.4047, allocations: 0.6263 MB / 1.098 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.4048, allocations: 132.7 kB / 1.099 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.4049, allocations: 11.98 kB / 1.099 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.4051, allocations: 15.98 kB / 1.099 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.4051, allocations: 27.91 kB / 1.099 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.4052, allocations: 12 kB / 1.099 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001445/0.4053, allocations: 153.5 kB / 1.099 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4053, allocations: 0 / 1.099 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005279/0.4059, allocations: 95.92 kB / 1.099 GB, free: 12.75 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002185/0.4061, allocations: 137.3 kB / 1.099 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009426/0.407, allocations: 0.5713 MB / 1.1 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.407, allocations: 4 kB / 1.1 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005022/0.4076, allocations: 401.9 kB / 1.1 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005588/0.4081, allocations: 47.84 kB / 1.1 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.4092, allocations: 0.7587 MB / 1.101 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.4096, allocations: 0.7831 MB / 1.102 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001712/0.4098, allocations: 62.22 kB / 1.102 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.224e-05/0.4098, allocations: 19.44 kB / 1.102 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of SimCode: time 2.7e-07/0.4098, allocations: 0 / 1.102 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of Templates: time 0.00789/0.4177, allocations: 3.934 MB / 1.105 GB, free: 5.93 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_1.6_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)