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.001377/0.001376, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001586/0.001586, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.942/1.942, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.72/1.72, allocations: 251.7 MB / 0.5089 GB, free: 3.312 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.001466/0.001467, allocations: 67.91 kB / 0.6217 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7436/0.7451, allocations: 104.7 MB / 0.724 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008907/0.7541, allocations: 6.068 MB / 0.7299 GB, free: 7.008 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00656/0.7608, allocations: 3.192 MB / 0.733 GB, free: 3.801 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.762, allocations: 23.81 kB / 0.7331 GB, free: 3.777 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003085/0.7652, allocations: 0.8792 MB / 0.7339 GB, free: 2.898 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00212/0.7673, allocations: 442 kB / 0.7343 GB, free: 2.465 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.7692, allocations: 439.1 kB / 0.7348 GB, free: 2.035 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002122/0.7714, allocations: 1.1 MB / 0.7358 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001498/0.7729, allocations: 0.7111 MB / 0.7365 GB, free: 228 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.774, allocations: 438.3 kB / 0.7369 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.7752, allocations: 486.2 kB / 0.7374 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002553/0.7754, allocations: 60 kB / 0.7375 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/0.7768, allocations: 491 kB / 0.7379 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005176/0.7774, allocations: 291.2 kB / 0.7382 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008861/0.7783, allocations: 394 kB / 0.7386 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002644/0.7809, allocations: 1.199 MB / 0.7398 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.781, allocations: 4 kB / 0.7398 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.785e-06/0.781, allocations: 0 / 0.7398 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.301e-05/0.781, allocations: 0 / 0.7398 GB, free: 12.9 MB / 0.5606 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.003194/0.7842, allocations: 1.052 MB / 0.7408 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.7843, allocations: 16.03 kB / 0.7408 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/0.7862, allocations: 219.7 kB / 0.741 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.7875, allocations: 0.5298 MB / 0.7415 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.684e-05/0.7875, allocations: 45.67 kB / 0.7416 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001828/0.7877, allocations: 60.28 kB / 0.7416 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/0.7898, allocations: 1.041 MB / 0.7427 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.318e-05/0.7899, allocations: 4 kB / 0.7427 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.565e-05/0.79, allocations: 28 kB / 0.7427 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001097/0.7901, allocations: 69.27 kB / 0.7428 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.7914, allocations: 0.6917 MB / 0.7434 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006537/0.7979, allocations: 5.752 MB / 0.749 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009406/0.7989, allocations: 0.5981 MB / 0.7496 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008151/0.7998, allocations: 424.6 kB / 0.75 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.608e-05/0.7998, allocations: 4.688 kB / 0.75 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.7999, allocations: 34.55 kB / 0.7501 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 5.5e-06/0.7999, allocations: 3.984 kB / 0.7501 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.004757/0.8047, allocations: 2.063 MB / 0.7521 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.8048, allocations: 55.41 kB / 0.7521 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000653/0.8054, allocations: 454.8 kB / 0.7526 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.8055, allocations: 29.7 kB / 0.7526 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002964/0.8058, allocations: 391 kB / 0.753 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.8059, allocations: 149.9 kB / 0.7531 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.8062, allocations: 110.2 kB / 0.7532 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.8063, allocations: 370.8 kB / 0.7536 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003531/0.8067, allocations: 241.2 kB / 0.7538 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005381/0.8072, allocations: 461 kB / 0.7542 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009664/0.8082, allocations: 0.7556 MB / 0.755 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.8082, allocations: 4 kB / 0.755 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002082/0.8103, allocations: 1.07 MB / 0.756 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/0.8104, allocations: 8 kB / 0.756 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.8104, allocations: 4 kB / 0.756 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.8116, allocations: 331.4 kB / 0.7564 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/0.8119, allocations: 95.83 kB / 0.7565 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007991/0.8199, allocations: 7.523 MB / 0.7638 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005774/0.8206, allocations: 28.03 kB / 0.7638 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.752e-05/0.8207, allocations: 28 kB / 0.7639 GB, free: 2.605 MB / 0.5762 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.0004672/0.8212, allocations: 249.5 kB / 0.7641 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.8213, allocations: 63.19 kB / 0.7642 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/0.8231, allocations: 0.9118 MB / 0.765 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.8231, allocations: 7.984 kB / 0.7651 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/0.8231, allocations: 4 kB / 0.7651 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.8232, allocations: 7.984 kB / 0.7651 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002962/0.8261, allocations: 1.704 MB / 0.7667 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.974e-06/0.8262, allocations: 8.031 kB / 0.7667 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.8263, allocations: 39.91 kB / 0.7668 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009826/0.8273, allocations: 331 kB / 0.7671 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.623e-05/0.8274, allocations: 4 kB / 0.7671 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008064/0.8355, allocations: 7.506 MB / 0.7744 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.8355, allocations: 4 kB / 0.7744 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.8375, allocations: 1.011 MB / 0.7754 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003435/0.8378, allocations: 176.4 kB / 0.7756 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.494e-05/0.8379, allocations: 8 kB / 0.7756 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002912/0.8382, allocations: 19.98 kB / 0.7756 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/0.8384, allocations: 47.88 kB / 0.7757 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.8384, allocations: 12 kB / 0.7757 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004254/0.8389, allocations: 306.9 kB / 0.776 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.8e-07/0.8389, allocations: 0 / 0.776 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008662/0.8398, allocations: 195.9 kB / 0.7761 GB, free: 5.258 MB / 0.5919 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.0002436/0.84, allocations: 115.2 kB / 0.7763 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002102/0.8421, allocations: 1.249 MB / 0.7775 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.8421, allocations: 0 / 0.7775 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001308/0.8435, allocations: 0.8618 MB / 0.7783 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.8446, allocations: 206.3 kB / 0.7785 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/0.8476, allocations: 1.53 MB / 0.78 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/0.8487, allocations: 0.9921 MB / 0.781 GB, free: 140 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004392/0.8491, allocations: 101.2 kB / 0.7811 GB, free: 36 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.8493, allocations: 39.38 kB / 0.7811 GB, free: 16 MB / 0.6075 GB Notification: Performance of SimCode: time 2.214e-06/0.8493, allocations: 0 / 0.7811 GB, free: 16 MB / 0.6075 GB Notification: Performance of Templates: time 0.02569/0.875, allocations: 10.01 MB / 0.7909 GB, free: 6.082 MB / 0.6075 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)