Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008505/0.0008502, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006746/0.006746, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.967/1.967, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.981/1.981, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.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.0006231/0.0006231, allocations: 17.75 kB / 0.6743 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3472, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006788/0.3541, allocations: 5.652 MB / 0.7934 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005066/0.3592, allocations: 3.181 MB / 0.7965 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004622/0.3597, allocations: 27.81 kB / 0.7965 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000371/0.3601, allocations: 119 kB / 0.7967 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.3611, allocations: 442 kB / 0.7971 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.3623, allocations: 442.1 kB / 0.7975 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001508/0.3638, allocations: 1.467 MB / 0.7989 GB, free: 220 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001733/0.3656, allocations: 0.9845 MB / 0.7999 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005689/0.3661, allocations: 362.3 kB / 0.8002 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005608/0.3667, allocations: 442.2 kB / 0.8007 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.938e-05/0.3668, allocations: 35.94 kB / 0.8007 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.3678, allocations: 0.573 MB / 0.8013 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002777/0.3681, allocations: 255.2 kB / 0.8015 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003495/0.3685, allocations: 383.7 kB / 0.8019 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.3696, allocations: 1.16 MB / 0.803 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3696, allocations: 0 / 0.803 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.454e-06/0.3697, allocations: 0 / 0.803 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.3697, allocations: 0 / 0.803 GB, free: 12.01 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001478/0.3712, allocations: 0.9155 MB / 0.8039 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.3712, allocations: 12.03 kB / 0.8039 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/0.3727, allocations: 215.7 kB / 0.8041 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007119/0.3734, allocations: 0.5336 MB / 0.8046 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.682e-05/0.3734, allocations: 45.69 kB / 0.8047 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.3736, allocations: 64.36 kB / 0.8047 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.3751, allocations: 1.034 MB / 0.8057 GB, free: 8.996 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.334e-05/0.3752, allocations: 19.83 kB / 0.8058 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-05/0.3752, allocations: 27.98 kB / 0.8058 GB, free: 8.949 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.271e-05/0.3753, allocations: 73.2 kB / 0.8059 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.3763, allocations: 0.6918 MB / 0.8065 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005723/0.3821, allocations: 5.749 MB / 0.8121 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009428/0.383, allocations: 0.599 MB / 0.8127 GB, free: 1.367 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008634/0.3839, allocations: 417.3 kB / 0.8131 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.917e-05/0.384, allocations: 7.781 kB / 0.8131 GB, free: 0.9492 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.384, allocations: 38.56 kB / 0.8132 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 2.244e-06/0.384, allocations: 0 / 0.8132 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.004708/0.3887, allocations: 2.073 MB / 0.8152 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.3888, allocations: 55.41 kB / 0.8153 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004764/0.3893, allocations: 454.7 kB / 0.8157 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.3893, allocations: 33.7 kB / 0.8157 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002507/0.3896, allocations: 379.1 kB / 0.8161 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.3897, allocations: 153.8 kB / 0.8162 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.54e-05/0.3898, allocations: 61.69 kB / 0.8163 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.39, allocations: 362.8 kB / 0.8166 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003556/0.3903, allocations: 249.2 kB / 0.8169 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004891/0.3908, allocations: 453 kB / 0.8173 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009766/0.3918, allocations: 0.7519 MB / 0.818 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.3918, allocations: 3.938 kB / 0.818 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001891/0.3937, allocations: 1.073 MB / 0.8191 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.3938, allocations: 8 kB / 0.8191 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.3938, allocations: 8 kB / 0.8191 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.3948, allocations: 327.5 kB / 0.8194 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003089/0.3951, allocations: 99.81 kB / 0.8195 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007591/0.4027, allocations: 6.953 MB / 0.8263 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005132/0.4033, allocations: 32.2 kB / 0.8263 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.333e-05/0.4033, allocations: 28 kB / 0.8264 GB, free: 2.496 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004281/0.4038, allocations: 249.5 kB / 0.8266 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.532e-05/0.4039, allocations: 55.34 kB / 0.8266 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/0.4057, allocations: 0.912 MB / 0.8275 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.4057, allocations: 4 kB / 0.8275 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.4057, allocations: 8 kB / 0.8275 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.4057, allocations: 7.984 kB / 0.8276 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002995/0.4087, allocations: 1.704 MB / 0.8292 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.4087, allocations: 288 / 0.8292 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.4089, allocations: 43.91 kB / 0.8293 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009064/0.4098, allocations: 327.1 kB / 0.8296 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/0.4099, allocations: 8 kB / 0.8296 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007142/0.417, allocations: 6.947 MB / 0.8364 GB, free: 7.574 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.4171, allocations: 4 kB / 0.8364 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/0.419, allocations: 1.007 MB / 0.8374 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002938/0.4193, allocations: 176.3 kB / 0.8375 GB, free: 6.324 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.006e-05/0.4194, allocations: 8 kB / 0.8375 GB, free: 6.316 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002881/0.4197, allocations: 19.98 kB / 0.8375 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.4198, allocations: 43.94 kB / 0.8376 GB, free: 6.254 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.337e-05/0.4199, allocations: 15.94 kB / 0.8376 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003971/0.4203, allocations: 310.8 kB / 0.8379 GB, free: 5.938 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4203, allocations: 0 / 0.8379 GB, free: 5.938 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009414/0.4213, allocations: 192 kB / 0.8381 GB, free: 5.75 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002062/0.4215, allocations: 111.5 kB / 0.8382 GB, free: 5.629 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001957/0.4234, allocations: 1.203 MB / 0.8394 GB, free: 4.375 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.4235, allocations: 8.125 kB / 0.8394 GB, free: 4.367 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001236/0.4247, allocations: 0.8655 MB / 0.8402 GB, free: 3.449 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.4258, allocations: 185.3 kB / 0.8404 GB, free: 3.273 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/0.4284, allocations: 1.541 MB / 0.8419 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006952/0.4291, allocations: 0.9843 MB / 0.8429 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003221/0.4294, allocations: 101.2 kB / 0.843 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.483e-05/0.4295, allocations: 39.44 kB / 0.843 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of SimCode: time 5.41e-07/0.4295, allocations: 4 kB / 0.843 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of Templates: time 0.01883/0.4484, allocations: 9.452 MB / 0.8522 GB, free: 7.176 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) Environment - environmentSimulation: