Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.00968/0.00968, allocations: 100.9 kB / 15.73 MB, free: 6.047 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.002097/0.002097, allocations: 198.8 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.803/1.803, allocations: 205.1 MB / 222.6 MB, free: 4.371 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.762/1.762, allocations: 251.7 MB / 0.5094 GB, free: 3.047 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 71.89 kB / 0.7258 GB, free: 9.059 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3165, allocations: 104.7 MB / 0.828 GB, free: 248 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.006232/0.3228, allocations: 3.059 MB / 0.831 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003912/0.3267, allocations: 1.961 MB / 0.8329 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003466/0.3271, allocations: 4 kB / 0.8329 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001273/0.3284, allocations: 290.4 kB / 0.8332 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0007718/0.3292, allocations: 199.1 kB / 0.8334 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009075/0.3302, allocations: 239.3 kB / 0.8336 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006124/0.3308, allocations: 322.7 kB / 0.8339 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004531/0.3312, allocations: 184.9 kB / 0.8341 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003525/0.3316, allocations: 131.5 kB / 0.8342 GB, free: 9.852 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004468/0.3321, allocations: 147.4 kB / 0.8344 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.077e-05/0.3321, allocations: 24 kB / 0.8344 GB, free: 9.684 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008039/0.3329, allocations: 399.2 kB / 0.8348 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.3331, allocations: 87.72 kB / 0.8349 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.3333, allocations: 115.4 kB / 0.835 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000777/0.3341, allocations: 490.7 kB / 0.8354 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.3341, allocations: 0 / 0.8354 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.973e-06/0.3341, allocations: 0 / 0.8354 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.3341, allocations: 0 / 0.8354 GB, free: 8.613 MB / 0.6544 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.001125/0.3352, allocations: 0.5653 MB / 0.836 GB, free: 8 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.3353, allocations: 8.031 kB / 0.836 GB, free: 7.992 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008632/0.3362, allocations: 104.5 kB / 0.8361 GB, free: 7.891 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.3366, allocations: 271.9 kB / 0.8364 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.3366, allocations: 12.81 kB / 0.8364 GB, free: 7.574 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.771e-05/0.3366, allocations: 16.38 kB / 0.8364 GB, free: 7.559 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005589/0.3372, allocations: 361.4 kB / 0.8367 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3372, allocations: 0 / 0.8367 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.101e-05/0.3372, allocations: 8 kB / 0.8367 GB, free: 7.176 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.513e-05/0.3373, allocations: 24.42 kB / 0.8368 GB, free: 7.148 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004937/0.3378, allocations: 297.4 kB / 0.837 GB, free: 6.859 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002318/0.3401, allocations: 1.729 MB / 0.8387 GB, free: 4.961 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004675/0.3406, allocations: 330.1 kB / 0.8391 GB, free: 4.602 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.3408, allocations: 101.7 kB / 0.8391 GB, free: 4.496 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.3409, allocations: 89.05 kB / 0.8392 GB, free: 4.391 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.3409, allocations: 42.56 kB / 0.8393 GB, free: 4.34 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 4.118e-06/0.341, allocations: 0 / 0.8393 GB, free: 4.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.002427/0.3434, allocations: 0.9588 MB / 0.8402 GB, free: 3.348 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.553e-05/0.3435, allocations: 93.02 kB / 0.8403 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.3437, allocations: 219.6 kB / 0.8405 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.3438, allocations: 25.7 kB / 0.8405 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.3439, allocations: 172.1 kB / 0.8407 GB, free: 2.809 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.616e-05/0.344, allocations: 78.86 kB / 0.8408 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.3441, allocations: 65.59 kB / 0.8408 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3442, allocations: 326.8 kB / 0.8411 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.3445, allocations: 135.9 kB / 0.8413 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.3447, allocations: 213.3 kB / 0.8415 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004756/0.3452, allocations: 364.4 kB / 0.8418 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3452, allocations: 8 kB / 0.8418 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008792/0.3461, allocations: 0.5003 MB / 0.8423 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.3461, allocations: 4.312 kB / 0.8423 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.3462, allocations: 8 kB / 0.8423 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005721/0.3467, allocations: 147.3 kB / 0.8425 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.347, allocations: 55.91 kB / 0.8425 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003505/0.3505, allocations: 4.202 MB / 0.8466 GB, free: 12.29 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.3508, allocations: 15.98 kB / 0.8466 GB, free: 12.27 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/0.3508, allocations: 12 kB / 0.8467 GB, free: 12.26 MB / 0.67 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.0002123/0.351, allocations: 169.8 kB / 0.8468 GB, free: 12.09 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.395e-05/0.3511, allocations: 19.72 kB / 0.8468 GB, free: 12.07 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009034/0.352, allocations: 481.1 kB / 0.8473 GB, free: 11.58 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.352, allocations: 4 kB / 0.8473 GB, free: 11.57 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.352, allocations: 4 kB / 0.8473 GB, free: 11.57 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.352, allocations: 0 / 0.8473 GB, free: 11.57 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.3536, allocations: 1.004 MB / 0.8483 GB, free: 10.47 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.3536, allocations: 7.984 kB / 0.8483 GB, free: 10.46 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.3538, allocations: 31.98 kB / 0.8483 GB, free: 10.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004056/0.3542, allocations: 143.5 kB / 0.8485 GB, free: 10.28 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.3542, allocations: 8 kB / 0.8485 GB, free: 10.27 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003155/0.3574, allocations: 4.159 MB / 0.8525 GB, free: 5.785 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.3574, allocations: 4 kB / 0.8525 GB, free: 5.781 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008392/0.3582, allocations: 0.6099 MB / 0.8531 GB, free: 5.117 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.3584, allocations: 136.7 kB / 0.8533 GB, free: 4.965 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.3584, allocations: 15.92 kB / 0.8533 GB, free: 4.949 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.3586, allocations: 15.98 kB / 0.8533 GB, free: 4.934 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.887e-05/0.3587, allocations: 23.97 kB / 0.8533 GB, free: 4.91 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.3587, allocations: 8.047 kB / 0.8533 GB, free: 4.902 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001708/0.3589, allocations: 157.5 kB / 0.8535 GB, free: 4.75 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3589, allocations: 0 / 0.8535 GB, free: 4.75 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0005812/0.3595, allocations: 95.98 kB / 0.8536 GB, free: 4.656 MB / 0.67 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.00027/0.3598, allocations: 139.1 kB / 0.8537 GB, free: 4.508 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001077/0.3609, allocations: 0.5772 MB / 0.8543 GB, free: 3.906 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.3609, allocations: 0 / 0.8543 GB, free: 3.906 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005296/0.3614, allocations: 398.2 kB / 0.8546 GB, free: 3.492 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005561/0.362, allocations: 47.97 kB / 0.8547 GB, free: 3.445 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.3633, allocations: 0.6158 MB / 0.8553 GB, free: 2.777 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.3638, allocations: 0.783 MB / 0.8561 GB, free: 1.969 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001779/0.364, allocations: 66.23 kB / 0.8561 GB, free: 1.906 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.318e-05/0.3641, allocations: 19.44 kB / 0.8561 GB, free: 1.887 MB / 0.67 GB Notification: Performance of SimCode: time 6.41e-07/0.3641, allocations: 0 / 0.8561 GB, free: 1.887 MB / 0.67 GB Notification: Performance of Templates: time 0.01062/0.3747, allocations: 4.215 MB / 0.8602 GB, free: 13.7 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)