Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 173 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8963/0.8963, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002196/0.002196, allocations: 239.6 kB / 260.2 MB, free: 12.81 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6803/0.6803, allocations: 138.4 MB / 455.2 MB, free: 1.473 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 3.938 kB / 0.5551 GB, free: 468 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.61e-05/1.799e-05, allocations: 2.312 kB / 0.5551 GB, free: 464 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.006235/0.006253, allocations: 7.807 MB / 0.5628 GB, free: 8.605 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006431/0.01268, allocations: 5.886 MB / 0.5685 GB, free: 2.699 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005154/0.0132, allocations: 79.31 kB / 0.5686 GB, free: 2.621 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007459/0.01395, allocations: 369.1 kB / 0.5689 GB, free: 2.258 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001853/0.0158, allocations: 1.434 MB / 0.5703 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000684/0.01648, allocations: 0.5536 MB / 0.5709 GB, free: 272 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.00143/0.01791, allocations: 2.371 MB / 0.5732 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009296/0.01884, allocations: 1.149 MB / 0.5743 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.02004, allocations: 1.547 MB / 0.5758 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007396/0.02078, allocations: 0.8804 MB / 0.5767 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.000128/0.02091, allocations: 136 kB / 0.5768 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003794/0.02129, allocations: 287.6 kB / 0.5771 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003486/0.02164, allocations: 0.5958 MB / 0.5777 GB, free: 9.254 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000402/0.02204, allocations: 0.5883 MB / 0.5782 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.02307, allocations: 1.409 MB / 0.5796 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.02308, allocations: 0 / 0.5796 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.623e-06/0.02308, allocations: 3.938 kB / 0.5796 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.02309, allocations: 0 / 0.5796 GB, free: 7.242 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.001782/0.02488, allocations: 2.01 MB / 0.5816 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.02491, allocations: 16.73 kB / 0.5816 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004015/0.02893, allocations: 1.696 MB / 0.5833 GB, free: 3.473 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.03022, allocations: 1.165 MB / 0.5844 GB, free: 2.254 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.479e-05/0.03026, allocations: 90.7 kB / 0.5845 GB, free: 2.164 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.03041, allocations: 120.3 kB / 0.5846 GB, free: 2.047 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.03234, allocations: 1.865 MB / 0.5864 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/0.03237, allocations: 11.88 kB / 0.5864 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-05/0.03246, allocations: 52 kB / 0.5865 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001764/0.03264, allocations: 130.1 kB / 0.5866 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.03368, allocations: 0.7583 MB / 0.5873 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005572/0.03925, allocations: 7.918 MB / 0.5951 GB, free: 6.867 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.04036, allocations: 0.6327 MB / 0.5957 GB, free: 6.227 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.04067, allocations: 229.1 kB / 0.5959 GB, free: 6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.0407, allocations: 8.5 kB / 0.5959 GB, free: 5.992 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.04073, allocations: 45.89 kB / 0.596 GB, free: 5.934 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=53): time 2.235e-06/0.04073, allocations: 0 / 0.596 GB, free: 5.934 MB / 0.5105 GB Notification: Performance of matching and sorting (n=81): time 0.005165/0.0459, allocations: 3.013 MB / 0.5989 GB, free: 2.879 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.04593, allocations: 60.06 kB / 0.599 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000654/0.04658, allocations: 0.9438 MB / 0.5999 GB, free: 1.852 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.464e-05/0.04665, allocations: 37.7 kB / 0.5999 GB, free: 1.809 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003535/0.047, allocations: 0.8156 MB / 0.6007 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.04717, allocations: 289.5 kB / 0.601 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000238/0.04741, allocations: 196.2 kB / 0.6012 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.1941/0.2415, allocations: 0.5221 MB / 0.6017 GB, free: 83.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006906/0.2422, allocations: 312.1 kB / 0.602 GB, free: 83.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000492/0.2427, allocations: 0.6264 MB / 0.6026 GB, free: 83.33 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009316/0.2436, allocations: 0.9671 MB / 0.6036 GB, free: 82.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2436, allocations: 0 / 0.6036 GB, free: 82.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002331/0.2459, allocations: 1.601 MB / 0.6051 GB, free: 82.78 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.246, allocations: 8.719 kB / 0.6051 GB, free: 82.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.246, allocations: 5.25 kB / 0.6051 GB, free: 82.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001653/0.2476, allocations: 0.6919 MB / 0.6058 GB, free: 82.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000622/0.2482, allocations: 309.6 kB / 0.6061 GB, free: 82.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0057/0.2539, allocations: 15.59 MB / 0.6213 GB, free: 68.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007741/0.2547, allocations: 183.6 kB / 0.6215 GB, free: 68.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.764e-05/0.2548, allocations: 56.42 kB / 0.6216 GB, free: 68.95 MB / 0.5105 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003345/0.2551, allocations: 209.1 kB / 0.6218 GB, free: 68.79 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/0.2553, allocations: 162.5 kB / 0.6219 GB, free: 68.79 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002087/0.2574, allocations: 1.444 MB / 0.6233 GB, free: 68.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.2574, allocations: 13.84 kB / 0.6233 GB, free: 68.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.2574, allocations: 8.062 kB / 0.6233 GB, free: 68.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.2574, allocations: 3.375 kB / 0.6233 GB, free: 68.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003395/0.2608, allocations: 2.631 MB / 0.6259 GB, free: 68.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.2608, allocations: 2.781 kB / 0.6259 GB, free: 68.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005526/0.2614, allocations: 241.6 kB / 0.6261 GB, free: 68.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001577/0.2629, allocations: 0.6527 MB / 0.6268 GB, free: 67.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.746e-05/0.263, allocations: 33.25 kB / 0.6268 GB, free: 67.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005906/0.2689, allocations: 15.56 MB / 0.642 GB, free: 54.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.2689, allocations: 3.953 kB / 0.642 GB, free: 54.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/0.2711, allocations: 1.487 MB / 0.6435 GB, free: 53.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003841/0.2715, allocations: 285 kB / 0.6437 GB, free: 53.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.2716, allocations: 22.44 kB / 0.6438 GB, free: 53.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006811/0.2723, allocations: 179.4 kB / 0.6439 GB, free: 53.22 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000269/0.2726, allocations: 85.88 kB / 0.644 GB, free: 53.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.118e-05/0.2727, allocations: 40.75 kB / 0.6441 GB, free: 53.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005457/0.2732, allocations: 0.571 MB / 0.6446 GB, free: 52.96 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.2732, allocations: 0 / 0.6446 GB, free: 52.96 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00114/0.2743, allocations: 429 kB / 0.645 GB, free: 52.92 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.0002126/0.2746, allocations: 131.6 kB / 0.6451 GB, free: 52.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00239/0.277, allocations: 2.477 MB / 0.6476 GB, free: 51.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.277, allocations: 1.312 kB / 0.6476 GB, free: 51.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001475/0.2784, allocations: 2.048 MB / 0.6496 GB, free: 49.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.2797, allocations: 0.4986 MB / 0.65 GB, free: 49.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003739/0.2835, allocations: 2.646 MB / 0.6526 GB, free: 48.08 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/0.2839, allocations: 392.2 kB / 0.653 GB, free: 47.95 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008153/0.2847, allocations: 310.4 kB / 0.6533 GB, free: 47.81 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002669/0.285, allocations: 101.7 kB / 0.6534 GB, free: 47.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.492e-06/0.285, allocations: 0 / 0.6534 GB, free: 47.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.02999/0.315, allocations: 32.88 MB / 0.6855 GB, free: 26.2 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.259798663202673]