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.001236/0.001236, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001316/0.001316, allocations: 190.7 kB / 16.14 MB, free: 6.703 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.954/1.954, allocations: 205.1 MB / 222 MB, free: 4.75 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.812/1.812, allocations: 251.7 MB / 0.5088 GB, free: 3.32 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.001412/0.001412, allocations: 63.91 kB / 0.6216 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7732/0.7746, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.009305/0.784, allocations: 6.072 MB / 0.7297 GB, free: 7.055 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00585/0.7899, allocations: 3.232 MB / 0.7329 GB, free: 3.809 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008605/0.7908, allocations: 27.81 kB / 0.7329 GB, free: 3.781 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002392/0.7933, allocations: 0.8716 MB / 0.7338 GB, free: 2.91 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.795, allocations: 438 kB / 0.7342 GB, free: 2.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.7967, allocations: 443.1 kB / 0.7346 GB, free: 2.047 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002494/0.7992, allocations: 1.474 MB / 0.7361 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001461/0.8007, allocations: 0.6189 MB / 0.7367 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.8017, allocations: 390.3 kB / 0.737 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007989/0.8025, allocations: 482.2 kB / 0.7375 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.56e-05/0.8026, allocations: 40 kB / 0.7375 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.8042, allocations: 0.577 MB / 0.7381 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003894/0.8046, allocations: 283.1 kB / 0.7384 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005021/0.8051, allocations: 374 kB / 0.7387 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001818/0.8069, allocations: 1.18 MB / 0.7399 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.807, allocations: 0 / 0.7399 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.743e-06/0.807, allocations: 0 / 0.7399 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.807, allocations: 0 / 0.7399 GB, free: 12.65 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.002105/0.8091, allocations: 1.067 MB / 0.7409 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.845e-05/0.8092, allocations: 8.031 kB / 0.7409 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/0.8108, allocations: 211.7 kB / 0.7411 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000944/0.8118, allocations: 0.5338 MB / 0.7416 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.156e-05/0.8118, allocations: 45.67 kB / 0.7417 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.812, allocations: 68.27 kB / 0.7418 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001822/0.8138, allocations: 1.034 MB / 0.7428 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.626e-05/0.8139, allocations: 4 kB / 0.7428 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.74e-05/0.8139, allocations: 31.98 kB / 0.7428 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001209/0.8141, allocations: 77.27 kB / 0.7429 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.8153, allocations: 0.6917 MB / 0.7435 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006536/0.8218, allocations: 5.749 MB / 0.7492 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000951/0.8229, allocations: 0.6011 MB / 0.7497 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008093/0.8237, allocations: 420.6 kB / 0.7501 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.851e-05/0.8238, allocations: 4.688 kB / 0.7502 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.8238, allocations: 34.56 kB / 0.7502 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 3.456e-06/0.8238, allocations: 4 kB / 0.7502 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.004766/0.8286, allocations: 2.052 MB / 0.7522 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.8287, allocations: 55.41 kB / 0.7522 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005464/0.8292, allocations: 458.8 kB / 0.7527 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.8293, allocations: 29.7 kB / 0.7527 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002843/0.8295, allocations: 391 kB / 0.7531 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.8297, allocations: 145.9 kB / 0.7532 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.8299, allocations: 110.2 kB / 0.7533 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.8301, allocations: 366.8 kB / 0.7537 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003435/0.8304, allocations: 245.2 kB / 0.7539 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005043/0.8309, allocations: 461 kB / 0.7544 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009388/0.8319, allocations: 0.7595 MB / 0.7551 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.8319, allocations: 7.938 kB / 0.7551 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001823/0.8337, allocations: 1.062 MB / 0.7561 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.8338, allocations: 8 kB / 0.7561 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.8338, allocations: 8.062 kB / 0.7562 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/0.8349, allocations: 327.1 kB / 0.7565 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.8352, allocations: 99.81 kB / 0.7566 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006952/0.8421, allocations: 6.947 MB / 0.7633 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005561/0.8427, allocations: 24.03 kB / 0.7634 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.647e-05/0.8428, allocations: 32.12 kB / 0.7634 GB, free: 2.961 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.0004368/0.8432, allocations: 249.5 kB / 0.7636 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.447e-05/0.8433, allocations: 63.34 kB / 0.7637 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001682/0.845, allocations: 0.9116 MB / 0.7646 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.845, allocations: 4.281 kB / 0.7646 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.845, allocations: 4 kB / 0.7646 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.8451, allocations: 3.984 kB / 0.7646 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002833/0.8479, allocations: 1.716 MB / 0.7663 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.8479, allocations: 0 / 0.7663 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.8481, allocations: 43.91 kB / 0.7663 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009756/0.8491, allocations: 327.3 kB / 0.7666 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.415e-05/0.8491, allocations: 8 kB / 0.7666 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006882/0.856, allocations: 6.931 MB / 0.7734 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.856, allocations: 7.938 kB / 0.7734 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/0.8578, allocations: 1.011 MB / 0.7744 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002705/0.8581, allocations: 176.3 kB / 0.7746 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.537e-05/0.8582, allocations: 12 kB / 0.7746 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002609/0.8585, allocations: 19.97 kB / 0.7746 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.8586, allocations: 39.88 kB / 0.7746 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/0.8586, allocations: 23.94 kB / 0.7747 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003659/0.859, allocations: 302.9 kB / 0.7749 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.859, allocations: 288 / 0.7749 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008888/0.8599, allocations: 196 kB / 0.7751 GB, free: 6.207 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.0001913/0.8601, allocations: 115.1 kB / 0.7752 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001966/0.8621, allocations: 1.203 MB / 0.7764 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/0.8621, allocations: 4 kB / 0.7764 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.8632, allocations: 0.8618 MB / 0.7773 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009256/0.8641, allocations: 184.8 kB / 0.7774 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.8663, allocations: 1.536 MB / 0.7789 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005921/0.8669, allocations: 0.9919 MB / 0.7799 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000313/0.8672, allocations: 101.2 kB / 0.78 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.958e-05/0.8673, allocations: 35.44 kB / 0.78 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/0.8673, allocations: 0 / 0.78 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of Templates: time 0.01778/0.8851, allocations: 9.611 MB / 0.7894 GB, free: 7.488 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)