Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.0091/0.0091, allocations: 100.3 kB / 15.73 MB, free: 6.449 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.001803/0.001804, allocations: 198.2 kB / 16.68 MB, free: 6.355 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.867/1.867, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.746/1.746, allocations: 251.7 MB / 0.5094 GB, free: 3.078 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.00233/0.00233, allocations: 67.89 kB / 0.7258 GB, free: 9.047 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3786, allocations: 104.7 MB / 0.828 GB, free: 240 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.011/0.3897, allocations: 6.066 MB / 0.834 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.007542/0.3973, allocations: 3.2 MB / 0.8371 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001308/0.3987, allocations: 27.81 kB / 0.8371 GB, free: 6.898 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003352/0.402, allocations: 0.9298 MB / 0.838 GB, free: 5.965 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00202/0.4041, allocations: 473.5 kB / 0.8385 GB, free: 5.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001975/0.4061, allocations: 489.2 kB / 0.8389 GB, free: 5.023 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00231/0.4084, allocations: 1.092 MB / 0.84 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001499/0.4099, allocations: 0.6427 MB / 0.8406 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001184/0.4111, allocations: 442.4 kB / 0.8411 GB, free: 2.852 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/0.4124, allocations: 470.2 kB / 0.8415 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002559/0.4127, allocations: 56 kB / 0.8416 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001639/0.4143, allocations: 491 kB / 0.842 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003705/0.4147, allocations: 283.2 kB / 0.8423 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005391/0.4153, allocations: 397.9 kB / 0.8427 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001747/0.417, allocations: 1.172 MB / 0.8438 GB, free: 12 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/0.417, allocations: 3.938 kB / 0.8438 GB, free: 8 kB / 0.6544 GB Notification: Performance of FrontEnd: time 3.146e-06/0.4171, allocations: 3.938 kB / 0.8438 GB, free: 4 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.166e-05/0.4171, allocations: 4 kB / 0.8438 GB, free: 0 / 0.6544 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.002/0.4191, allocations: 1.048 MB / 0.8449 GB, free: 14.9 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.926e-05/0.4192, allocations: 12.03 kB / 0.8449 GB, free: 14.89 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/0.4207, allocations: 219.7 kB / 0.8451 GB, free: 14.67 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009964/0.4217, allocations: 0.5883 MB / 0.8457 GB, free: 14.04 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.224e-05/0.4218, allocations: 45.67 kB / 0.8457 GB, free: 14 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.4219, allocations: 72.2 kB / 0.8458 GB, free: 13.93 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/0.4234, allocations: 1.026 MB / 0.8468 GB, free: 12.79 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.391e-05/0.4235, allocations: 11.92 kB / 0.8468 GB, free: 12.78 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-05/0.4236, allocations: 31.98 kB / 0.8468 GB, free: 12.75 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/0.4237, allocations: 69.28 kB / 0.8469 GB, free: 12.68 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.4247, allocations: 0.6918 MB / 0.8475 GB, free: 11.99 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005612/0.4303, allocations: 5.733 MB / 0.8531 GB, free: 5.828 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008969/0.4313, allocations: 0.591 MB / 0.8537 GB, free: 5.191 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008375/0.4321, allocations: 428.6 kB / 0.8541 GB, free: 4.77 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.4322, allocations: 4 kB / 0.8541 GB, free: 4.766 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.4322, allocations: 38.56 kB / 0.8542 GB, free: 4.719 MB / 0.67 GB Notification: Performance of pre-optimization done (n=41): time 3.016e-06/0.4322, allocations: 0 / 0.8542 GB, free: 4.719 MB / 0.67 GB Notification: Performance of matching and sorting (n=42): time 0.004483/0.4367, allocations: 2.022 MB / 0.8561 GB, free: 2.602 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.4368, allocations: 63.33 kB / 0.8562 GB, free: 2.527 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005671/0.4374, allocations: 454.8 kB / 0.8566 GB, free: 2.078 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.4374, allocations: 37.64 kB / 0.8567 GB, free: 2.035 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/0.4377, allocations: 387 kB / 0.857 GB, free: 1.648 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.4378, allocations: 145.9 kB / 0.8572 GB, free: 1.504 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.438, allocations: 110.2 kB / 0.8573 GB, free: 1.391 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.4382, allocations: 362.8 kB / 0.8576 GB, free: 1.027 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/0.4386, allocations: 245.2 kB / 0.8579 GB, free: 0.7891 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004972/0.4391, allocations: 457 kB / 0.8583 GB, free: 252 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009323/0.44, allocations: 0.7402 MB / 0.859 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.44, allocations: 0 / 0.859 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001836/0.4419, allocations: 1.038 MB / 0.86 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/0.4419, allocations: 8 kB / 0.8601 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.4419, allocations: 8 kB / 0.8601 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.443, allocations: 327.6 kB / 0.8604 GB, free: 14 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.4433, allocations: 95.83 kB / 0.8605 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007507/0.4508, allocations: 7.47 MB / 0.8678 GB, free: 5.875 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005197/0.4514, allocations: 36.02 kB / 0.8678 GB, free: 5.84 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.346e-05/0.4514, allocations: 28 kB / 0.8678 GB, free: 5.812 MB / 0.6856 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.0004264/0.4519, allocations: 241.6 kB / 0.868 GB, free: 5.566 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.452, allocations: 59.28 kB / 0.8681 GB, free: 5.508 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/0.4537, allocations: 0.8921 MB / 0.869 GB, free: 4.598 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.4538, allocations: 4 kB / 0.869 GB, free: 4.594 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4538, allocations: 8 kB / 0.869 GB, free: 4.586 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.4538, allocations: 4.172 kB / 0.869 GB, free: 4.582 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002697/0.4565, allocations: 1.684 MB / 0.8706 GB, free: 2.809 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.4565, allocations: 0 / 0.8706 GB, free: 2.809 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.4567, allocations: 43.91 kB / 0.8707 GB, free: 2.766 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009154/0.4576, allocations: 319.5 kB / 0.871 GB, free: 2.441 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.33e-05/0.4577, allocations: 8 kB / 0.871 GB, free: 2.434 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007342/0.465, allocations: 7.451 MB / 0.8783 GB, free: 10.42 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.465, allocations: 3.938 kB / 0.8783 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/0.4669, allocations: 0.9954 MB / 0.8792 GB, free: 9.371 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002998/0.4672, allocations: 172.3 kB / 0.8794 GB, free: 9.184 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.732e-05/0.4673, allocations: 8 kB / 0.8794 GB, free: 9.176 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.4676, allocations: 23.97 kB / 0.8794 GB, free: 9.152 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.4677, allocations: 39.83 kB / 0.8795 GB, free: 9.113 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/0.4677, allocations: 16 kB / 0.8795 GB, free: 9.098 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004411/0.4682, allocations: 310.9 kB / 0.8798 GB, free: 8.797 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4682, allocations: 0 / 0.8798 GB, free: 8.797 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008716/0.4691, allocations: 196 kB / 0.88 GB, free: 8.605 MB / 0.7012 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.0002133/0.4693, allocations: 106.1 kB / 0.8801 GB, free: 8.492 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002013/0.4713, allocations: 1.203 MB / 0.8813 GB, free: 7.238 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.4713, allocations: 0 / 0.8813 GB, free: 7.238 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00126/0.4726, allocations: 0.8542 MB / 0.8821 GB, free: 6.332 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.4737, allocations: 212.8 kB / 0.8823 GB, free: 6.137 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.476, allocations: 1.224 MB / 0.8835 GB, free: 4.867 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008029/0.4769, allocations: 0.992 MB / 0.8845 GB, free: 3.848 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.00028/0.4772, allocations: 105.1 kB / 0.8846 GB, free: 3.742 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.634e-05/0.4772, allocations: 31.44 kB / 0.8846 GB, free: 3.711 MB / 0.7012 GB Notification: Performance of SimCode: time 1.082e-06/0.4773, allocations: 0 / 0.8846 GB, free: 3.711 MB / 0.7012 GB Notification: Performance of Templates: time 0.01889/0.4962, allocations: 9.973 MB / 0.8943 GB, free: 9.832 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)