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.0009555/0.0009555, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.0009143/0.0009143, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.8946/0.8946, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.001675/0.001675, allocations: 241.8 kB / 261.3 MB, free: 12.67 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.6897/0.6897, allocations: 138.4 MB / 456.3 MB, free: 1.406 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.383e-06/1.383e-06, allocations: 0 / 0.5564 GB, free: 240 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.098e-05/1.236e-05, allocations: 2.312 kB / 0.5564 GB, free: 236 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.009214/0.009227, allocations: 7.634 MB / 0.5638 GB, free: 8.559 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.008536/0.01776, allocations: 5.792 MB / 0.5695 GB, free: 2.746 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005823/0.01835, allocations: 79.31 kB / 0.5696 GB, free: 2.668 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007002/0.01905, allocations: 377 kB / 0.5699 GB, free: 2.297 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001577/0.02062, allocations: 1.42 MB / 0.5713 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006056/0.02123, allocations: 0.5613 MB / 0.5719 GB, free: 316 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001407/0.02263, allocations: 2.367 MB / 0.5742 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009235/0.02356, allocations: 1.141 MB / 0.5753 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001166/0.02472, allocations: 1.555 MB / 0.5768 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007402/0.02546, allocations: 0.8765 MB / 0.5777 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.02559, allocations: 136 kB / 0.5778 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003284/0.02592, allocations: 295.6 kB / 0.5781 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003404/0.02626, allocations: 0.5958 MB / 0.5786 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004195/0.02668, allocations: 0.5883 MB / 0.5792 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009781/0.02766, allocations: 1.409 MB / 0.5806 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.02766, allocations: 0 / 0.5806 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.21e-07/0.02766, allocations: 0 / 0.5806 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.02767, allocations: 0 / 0.5806 GB, free: 7.293 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.001702/0.02938, allocations: 2.018 MB / 0.5826 GB, free: 5.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.752e-05/0.0294, allocations: 8.75 kB / 0.5826 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003248/0.03265, allocations: 0.8462 MB / 0.5834 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.03374, allocations: 1.126 MB / 0.5845 GB, free: 3.195 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.511e-05/0.03378, allocations: 86.69 kB / 0.5846 GB, free: 3.109 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.03393, allocations: 128.2 kB / 0.5847 GB, free: 2.984 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.03551, allocations: 1.618 MB / 0.5863 GB, free: 1.133 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/0.03554, allocations: 7.875 kB / 0.5863 GB, free: 1.125 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.983e-05/0.03564, allocations: 55.98 kB / 0.5864 GB, free: 1.07 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001599/0.0358, allocations: 106.2 kB / 0.5865 GB, free: 0.9648 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007386/0.03654, allocations: 0.6159 MB / 0.5871 GB, free: 344 kB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00499/0.04153, allocations: 7.351 MB / 0.5942 GB, free: 8.785 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008705/0.0424, allocations: 416.7 kB / 0.5946 GB, free: 8.367 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000255/0.04265, allocations: 204.7 kB / 0.5948 GB, free: 8.168 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.04268, allocations: 8.5 kB / 0.5948 GB, free: 8.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.04271, allocations: 41.89 kB / 0.5949 GB, free: 8.105 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=53): time 1.994e-06/0.04271, allocations: 0 / 0.5949 GB, free: 8.105 MB / 0.5105 GB Notification: Performance of matching and sorting (n=81): time 0.004513/0.04722, allocations: 2.589 MB / 0.5974 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.04725, allocations: 64.06 kB / 0.5975 GB, free: 5.402 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005596/0.04781, allocations: 0.9081 MB / 0.5983 GB, free: 4.48 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.601e-05/0.04788, allocations: 49.64 kB / 0.5984 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003597/0.04823, allocations: 0.8232 MB / 0.5992 GB, free: 3.594 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.0484, allocations: 293.5 kB / 0.5995 GB, free: 3.305 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002466/0.04865, allocations: 204.1 kB / 0.5997 GB, free: 3.094 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.04877, allocations: 0.5237 MB / 0.6002 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/0.04907, allocations: 237.8 kB / 0.6004 GB, free: 2.332 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004371/0.04951, allocations: 0.5595 MB / 0.601 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007731/0.05028, allocations: 0.8441 MB / 0.6018 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.05028, allocations: 0 / 0.6018 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.1709/0.2212, allocations: 1.433 MB / 0.6032 GB, free: 84.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.2212, allocations: 11.16 kB / 0.6032 GB, free: 84.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.2212, allocations: 11.5 kB / 0.6032 GB, free: 84.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001628/0.2228, allocations: 0.6738 MB / 0.6039 GB, free: 84.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005475/0.2234, allocations: 186.8 kB / 0.604 GB, free: 84.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005311/0.2287, allocations: 15.26 MB / 0.6189 GB, free: 70.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006772/0.2294, allocations: 58.59 kB / 0.619 GB, free: 70.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.48e-05/0.2294, allocations: 46.05 kB / 0.619 GB, free: 70.48 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.0002983/0.2297, allocations: 214 kB / 0.6192 GB, free: 70.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/0.2299, allocations: 163.6 kB / 0.6194 GB, free: 70.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001828/0.2317, allocations: 1.323 MB / 0.6207 GB, free: 70.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.2317, allocations: 7.875 kB / 0.6207 GB, free: 70.07 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2317, allocations: 11.78 kB / 0.6207 GB, free: 70.07 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.2317, allocations: 8.062 kB / 0.6207 GB, free: 70.07 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002667/0.2344, allocations: 2.258 MB / 0.6229 GB, free: 69.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.2344, allocations: 8.562 kB / 0.6229 GB, free: 69.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003972/0.2348, allocations: 124.7 kB / 0.6231 GB, free: 69.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001396/0.2362, allocations: 0.6372 MB / 0.6237 GB, free: 69.42 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-05/0.2363, allocations: 31.11 kB / 0.6237 GB, free: 69.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005248/0.2415, allocations: 15.21 MB / 0.6386 GB, free: 55.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.2415, allocations: 2.094 kB / 0.6386 GB, free: 55.72 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.2433, allocations: 1.371 MB / 0.6399 GB, free: 55.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002964/0.2436, allocations: 267.5 kB / 0.6402 GB, free: 55.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.2437, allocations: 18.7 kB / 0.6402 GB, free: 55.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004858/0.2442, allocations: 42.06 kB / 0.6402 GB, free: 55.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/0.2443, allocations: 86.56 kB / 0.6403 GB, free: 55.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.87e-05/0.2444, allocations: 34.69 kB / 0.6403 GB, free: 55.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000353/0.2447, allocations: 0.5304 MB / 0.6408 GB, free: 54.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2447, allocations: 0 / 0.6408 GB, free: 54.95 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008866/0.2456, allocations: 429.4 kB / 0.6413 GB, free: 54.95 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.0001473/0.2458, allocations: 125 kB / 0.6414 GB, free: 54.86 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001804/0.2476, allocations: 2.36 MB / 0.6437 GB, free: 53.41 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.2476, allocations: 1.219 kB / 0.6437 GB, free: 53.41 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.2488, allocations: 1.973 MB / 0.6456 GB, free: 51.98 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.2499, allocations: 0.4963 MB / 0.6461 GB, free: 51.93 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002819/0.2527, allocations: 2.575 MB / 0.6486 GB, free: 50.71 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.2531, allocations: 393.7 kB / 0.649 GB, free: 50.61 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006712/0.2537, allocations: 279.5 kB / 0.6493 GB, free: 50.48 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008338/0.2546, allocations: 471.9 kB / 0.6497 GB, free: 50.41 MB / 0.5105 GB Notification: Performance of SimCode: time 7.01e-07/0.2546, allocations: 0 / 0.6497 GB, free: 50.41 MB / 0.5105 GB Notification: Performance of Templates: time 0.03047/0.285, allocations: 33.71 MB / 0.6826 GB, free: 30.38 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.117157514207065]