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.001356/0.001356, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001511/0.001511, allocations: 169 kB / 23.27 MB, free: 1.223 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.9206/0.9206, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.001662/0.001662, allocations: 249.4 kB / 260.5 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.6969/0.6969, allocations: 138.4 MB / 455.5 MB, free: 30.04 MB / 410.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.583e-06/1.583e-06, allocations: 0 / 0.5556 GB, free: 15.88 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.067e-05/1.225e-05, allocations: 9.969 kB / 0.5556 GB, free: 15.87 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.005888/0.0059, allocations: 7.649 MB / 0.5631 GB, free: 8.18 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005265/0.01117, allocations: 5.796 MB / 0.5687 GB, free: 2.363 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004072/0.01157, allocations: 75.31 kB / 0.5688 GB, free: 2.289 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000723/0.0123, allocations: 365.1 kB / 0.5691 GB, free: 1.93 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001649/0.01395, allocations: 1.425 MB / 0.5705 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.01496, allocations: 0.5536 MB / 0.5711 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001427/0.01639, allocations: 2.375 MB / 0.5734 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009144/0.0173, allocations: 1.156 MB / 0.5745 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.0185, allocations: 1.547 MB / 0.576 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007234/0.01923, allocations: 0.8765 MB / 0.5769 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.01935, allocations: 132 kB / 0.577 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000375/0.01973, allocations: 295.6 kB / 0.5773 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000572/0.0203, allocations: 0.5919 MB / 0.5779 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003873/0.02069, allocations: 0.5923 MB / 0.5785 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009711/0.02166, allocations: 1.409 MB / 0.5798 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.02166, allocations: 4 kB / 0.5798 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.82e-07/0.02166, allocations: 0 / 0.5798 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.02167, allocations: 0 / 0.5798 GB, free: 6.914 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.001614/0.02329, allocations: 2.018 MB / 0.5818 GB, free: 4.852 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.02333, allocations: 17.88 kB / 0.5818 GB, free: 4.836 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003047/0.02637, allocations: 0.8422 MB / 0.5826 GB, free: 3.992 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.02741, allocations: 1.122 MB / 0.5837 GB, free: 2.816 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.899e-05/0.02746, allocations: 86.69 kB / 0.5838 GB, free: 2.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.0276, allocations: 116.4 kB / 0.5839 GB, free: 2.617 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.02935, allocations: 1.618 MB / 0.5855 GB, free: 0.7656 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.02938, allocations: 15.83 kB / 0.5855 GB, free: 0.75 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.169e-05/0.02947, allocations: 51.98 kB / 0.5856 GB, free: 0.6992 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001471/0.02962, allocations: 110.2 kB / 0.5857 GB, free: 0.5898 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006999/0.03032, allocations: 0.6082 MB / 0.5863 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004923/0.03524, allocations: 7.359 MB / 0.5935 GB, free: 8.414 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008019/0.03604, allocations: 408.8 kB / 0.5939 GB, free: 8.004 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002394/0.03628, allocations: 193 kB / 0.594 GB, free: 7.812 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.03631, allocations: 12.5 kB / 0.594 GB, free: 7.797 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.03633, allocations: 45.89 kB / 0.5941 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=53): time 1.903e-06/0.03633, allocations: 0 / 0.5941 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of matching and sorting (n=81): time 0.004262/0.04059, allocations: 2.593 MB / 0.5966 GB, free: 5.117 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.04062, allocations: 64.05 kB / 0.5967 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005673/0.04119, allocations: 0.912 MB / 0.5976 GB, free: 4.117 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.904e-05/0.04125, allocations: 37.7 kB / 0.5976 GB, free: 4.074 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003553/0.0416, allocations: 0.8232 MB / 0.5984 GB, free: 3.242 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00041/0.04201, allocations: 301.5 kB / 0.5987 GB, free: 2.945 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.04224, allocations: 200.1 kB / 0.5989 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.04236, allocations: 0.5237 MB / 0.5994 GB, free: 2.211 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/0.04265, allocations: 237.8 kB / 0.5996 GB, free: 1.977 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004199/0.04307, allocations: 0.5634 MB / 0.6002 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007508/0.04382, allocations: 0.8518 MB / 0.601 GB, free: 308 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.04383, allocations: 4 kB / 0.601 GB, free: 304 kB / 0.5105 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001934/0.04576, allocations: 1.438 MB / 0.6024 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.04577, allocations: 8 kB / 0.6024 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/0.04578, allocations: 4 kB / 0.6024 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001546/0.04733, allocations: 0.6842 MB / 0.6031 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000498/0.04783, allocations: 195.6 kB / 0.6033 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007607/0.05543, allocations: 15.27 MB / 0.6182 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005571/0.05599, allocations: 52.03 kB / 0.6183 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-05/0.05606, allocations: 43.97 kB / 0.6183 GB, free: 13.61 MB / 0.5417 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.0003074/0.05636, allocations: 215.6 kB / 0.6185 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.05654, allocations: 163.2 kB / 0.6187 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002116/0.05866, allocations: 1.322 MB / 0.6199 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.05866, allocations: 8 kB / 0.62 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.05867, allocations: 8 kB / 0.62 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.05868, allocations: 11.98 kB / 0.62 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002832/0.06151, allocations: 2.276 MB / 0.6222 GB, free: 9.441 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.06151, allocations: 0 / 0.6222 GB, free: 9.441 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003708/0.06188, allocations: 119.8 kB / 0.6223 GB, free: 9.324 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001351/0.06324, allocations: 0.6457 MB / 0.6229 GB, free: 8.645 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.479e-05/0.06329, allocations: 35.97 kB / 0.623 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0073/0.07059, allocations: 15.21 MB / 0.6378 GB, free: 8.484 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.07059, allocations: 4 kB / 0.6378 GB, free: 8.48 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.07226, allocations: 1.368 MB / 0.6392 GB, free: 7.016 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003029/0.07256, allocations: 266.9 kB / 0.6394 GB, free: 6.754 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-05/0.07265, allocations: 20 kB / 0.6394 GB, free: 6.734 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004306/0.07308, allocations: 35.98 kB / 0.6395 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.07323, allocations: 88.52 kB / 0.6396 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.344e-05/0.07328, allocations: 31.97 kB / 0.6396 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003271/0.07361, allocations: 0.5367 MB / 0.6401 GB, free: 6.035 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.07361, allocations: 0 / 0.6401 GB, free: 6.035 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001178/0.07478, allocations: 428 kB / 0.6405 GB, free: 5.617 MB / 0.5573 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.000181/0.07497, allocations: 131 kB / 0.6406 GB, free: 5.477 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001869/0.07683, allocations: 2.367 MB / 0.643 GB, free: 2.961 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.07684, allocations: 5.812 kB / 0.643 GB, free: 2.957 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001246/0.07808, allocations: 1.952 MB / 0.6449 GB, free: 0.8594 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.07914, allocations: 0.5081 MB / 0.6454 GB, free: 392 kB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1647/0.2438, allocations: 2.551 MB / 0.6479 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.2442, allocations: 391.6 kB / 0.6482 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007389/0.2449, allocations: 281.6 kB / 0.6485 GB, free: 119.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007429/0.2457, allocations: 477.6 kB / 0.649 GB, free: 119.3 MB / 0.5573 GB Notification: Performance of SimCode: time 8.52e-07/0.2457, allocations: 0 / 0.649 GB, free: 119.3 MB / 0.5573 GB Notification: Performance of Templates: time 0.03538/0.281, allocations: 33.15 MB / 0.6813 GB, free: 110.9 MB / 0.5573 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.057534798048437]