Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.001443/0.001443, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001665/0.001665, allocations: 177 kB / 23.36 MB, free: 1.133 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.9258/0.9258, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.001606/0.001606, allocations: 246.2 kB / 260.5 MB, free: 12.71 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.6868/0.6868, allocations: 138.4 MB / 402.2 MB, free: 0.5703 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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0.875 kB / 462.3 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211e-05/1.358e-05, allocations: 2.969 kB / 462.3 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.007706/0.00772, allocations: 9.629 MB / 471.9 MB, free: 9.02 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006407/0.01413, allocations: 6.048 MB / 478 MB, free: 2.996 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004772/0.0146, allocations: 79.31 kB / 478.1 MB, free: 2.918 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006974/0.0153, allocations: 370.2 kB / 478.4 MB, free: 2.555 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001764/0.01707, allocations: 1.438 MB / 479.9 MB, free: 1.125 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007701/0.01784, allocations: 0.662 MB / 480.5 MB, free: 480 kB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001692/0.01953, allocations: 2.615 MB / 483.1 MB, free: 13.85 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009705/0.0205, allocations: 1.243 MB / 484.4 MB, free: 12.56 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/0.02165, allocations: 1.578 MB / 486 MB, free: 10.98 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008402/0.02249, allocations: 0.9892 MB / 487 MB, free: 9.996 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001556/0.02265, allocations: 164 kB / 487.1 MB, free: 9.836 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003693/0.02302, allocations: 329.1 kB / 487.4 MB, free: 9.516 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003685/0.02339, allocations: 0.6504 MB / 488.1 MB, free: 8.863 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004752/0.02386, allocations: 0.6391 MB / 488.7 MB, free: 8.223 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.02492, allocations: 1.534 MB / 490.3 MB, free: 6.684 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.02492, allocations: 0.625 kB / 490.3 MB, free: 6.684 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.02492, allocations: 0 / 490.3 MB, free: 6.684 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.02494, allocations: 1.312 kB / 490.3 MB, free: 6.684 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.001837/0.02677, allocations: 1.967 MB / 492.2 MB, free: 4.691 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.769e-05/0.0268, allocations: 14.09 kB / 492.2 MB, free: 4.68 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002901/0.0297, allocations: 0.8275 MB / 493.1 MB, free: 3.855 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.03078, allocations: 1.048 MB / 494.1 MB, free: 2.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.229e-05/0.03084, allocations: 90.73 kB / 494.2 MB, free: 2.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/0.031, allocations: 125.1 kB / 494.3 MB, free: 2.559 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.03261, allocations: 1.626 MB / 496 MB, free: 0.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.342e-05/0.03265, allocations: 11.88 kB / 496 MB, free: 0.7383 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.03276, allocations: 52.55 kB / 496 MB, free: 0.6875 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002719/0.03303, allocations: 138.9 kB / 496.2 MB, free: 0.5508 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007414/0.03377, allocations: 0.553 MB / 496.7 MB, free: 15.99 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005032/0.03881, allocations: 5.731 MB / 0.4907 GB, free: 10.14 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009596/0.03977, allocations: 0.554 MB / 0.4912 GB, free: 9.598 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/0.04008, allocations: 257.2 kB / 0.4914 GB, free: 9.355 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/0.04011, allocations: 17 kB / 0.4915 GB, free: 9.336 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.04014, allocations: 44.06 kB / 0.4915 GB, free: 9.285 MB / 458.7 MB Notification: Performance of pre-optimization done (n=89): time 1.863e-06/0.04014, allocations: 1.062 kB / 0.4915 GB, free: 9.285 MB / 458.7 MB Notification: Performance of matching and sorting (n=90): time 0.006428/0.04657, allocations: 3.226 MB / 0.4947 GB, free: 6.105 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.04659, allocations: 72.28 kB / 0.4947 GB, free: 6.023 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005069/0.0471, allocations: 0.8519 MB / 0.4956 GB, free: 5.16 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.112e-05/0.04717, allocations: 41.7 kB / 0.4956 GB, free: 5.113 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.0474, allocations: 0.5728 MB / 0.4962 GB, free: 4.531 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/0.0476, allocations: 329.1 kB / 0.4965 GB, free: 4.207 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/0.04784, allocations: 190.7 kB / 0.4967 GB, free: 4.012 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.065e-05/0.04792, allocations: 349.9 kB / 0.497 GB, free: 3.664 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.04819, allocations: 192.2 kB / 0.4972 GB, free: 3.48 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003647/0.04855, allocations: 440.1 kB / 0.4976 GB, free: 2.953 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006639/0.04921, allocations: 0.7038 MB / 0.4983 GB, free: 2.156 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.04922, allocations: 4 kB / 0.4983 GB, free: 2.152 MB / 458.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001786/0.05101, allocations: 1.205 MB / 0.4995 GB, free: 0.9023 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.05102, allocations: 18.31 kB / 0.4995 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.05103, allocations: 4 kB / 0.4995 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001856/0.05289, allocations: 0.7724 MB / 0.5002 GB, free: 80 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005328/0.05342, allocations: 195.6 kB / 0.5004 GB, free: 15.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006466/0.05989, allocations: 12.34 MB / 0.5125 GB, free: 2.703 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000504/0.06039, allocations: 47.98 kB / 0.5125 GB, free: 2.656 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.676e-05/0.06046, allocations: 44.12 kB / 0.5126 GB, free: 2.613 MB / 474.7 MB 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 (90): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002609/0.06072, allocations: 176.4 kB / 0.5127 GB, free: 2.43 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/0.06089, allocations: 115.9 kB / 0.5128 GB, free: 2.316 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001773/0.06266, allocations: 1.182 MB / 0.514 GB, free: 1.09 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.06266, allocations: 8 kB / 0.514 GB, free: 1.082 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.06267, allocations: 12 kB / 0.514 GB, free: 1.07 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.06268, allocations: 7.984 kB / 0.514 GB, free: 1.062 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00272/0.0654, allocations: 2.015 MB / 0.516 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.0654, allocations: 3.984 kB / 0.516 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004148/0.06582, allocations: 131.9 kB / 0.5161 GB, free: 14.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001796/0.06761, allocations: 0.752 MB / 0.5168 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.015e-05/0.06767, allocations: 23.97 kB / 0.5169 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00613/0.0738, allocations: 12.02 MB / 0.5286 GB, free: 1.129 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.0738, allocations: 4 kB / 0.5286 GB, free: 1.125 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.07549, allocations: 1.18 MB / 0.5298 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003011/0.07579, allocations: 243.8 kB / 0.53 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.07591, allocations: 19.98 kB / 0.53 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004461/0.07635, allocations: 47.98 kB / 0.5301 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.07652, allocations: 88.72 kB / 0.5301 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.426e-05/0.07657, allocations: 23.97 kB / 0.5302 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002894/0.07686, allocations: 429 kB / 0.5306 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.07686, allocations: 0 / 0.5306 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009134/0.07778, allocations: 472 kB / 0.531 GB, free: 14.57 MB / 0.4948 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 (56): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001853/0.07796, allocations: 116.2 kB / 0.5311 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001787/0.07975, allocations: 1.954 MB / 0.533 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-05/0.07977, allocations: 18 kB / 0.5331 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00126/0.08103, allocations: 1.591 MB / 0.5346 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.08203, allocations: 0.5244 MB / 0.5351 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002789/0.08482, allocations: 2.494 MB / 0.5376 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.08511, allocations: 388.2 kB / 0.5379 GB, free: 7.211 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000659/0.08577, allocations: 285 kB / 0.5382 GB, free: 6.941 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007418/0.08651, allocations: 411 kB / 0.5386 GB, free: 6.531 MB / 0.4948 GB Notification: Performance of SimCode: time 6.51e-07/0.08651, allocations: 0 / 0.5386 GB, free: 6.531 MB / 0.4948 GB Notification: Performance of Templates: time 0.03399/0.1205, allocations: 34.38 MB / 0.5722 GB, free: 4.965 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.016441748011857]