Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.001319/0.001319, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001491/0.001491, allocations: 213.8 kB / 22.99 MB, free: 4.941 MB / 14.72 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 1.42/1.42, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.002589/0.002589, allocations: 295.6 kB / 313.5 MB, free: 2.613 MB / 238.1 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 1.219/1.219, allocations: 180.6 MB / 0.5377 GB, free: 14.51 MB / 382.1 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002973/0.002973, allocations: 107.8 kB / 0.7407 GB, free: 27.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1923, allocations: 95.38 MB / 0.8339 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04389/0.2362, allocations: 31.7 MB / 0.8648 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02759/0.2638, allocations: 14.45 MB / 0.879 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004384/0.2681, allocations: 210.4 kB / 0.8792 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01154/0.2797, allocations: 3.673 MB / 0.8827 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.009804/0.2895, allocations: 2.98 MB / 0.8857 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006964/0.2965, allocations: 2.339 MB / 0.8879 GB, free: 292 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01308/0.3095, allocations: 8.8 MB / 0.8965 GB, free: 7.453 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00985/0.3194, allocations: 5.487 MB / 0.9019 GB, free: 1.844 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008279/0.3277, allocations: 4.09 MB / 0.9059 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008007/0.3357, allocations: 4.002 MB / 0.9098 GB, free: 9.727 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002508/0.3382, allocations: 0.7148 MB / 0.9105 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005489/0.3437, allocations: 1.619 MB / 0.9121 GB, free: 7.391 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004628/0.3483, allocations: 2.895 MB / 0.9149 GB, free: 4.488 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006246/0.3545, allocations: 2.755 MB / 0.9176 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01549/0.37, allocations: 11.28 MB / 0.9286 GB, free: 6.406 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.37, allocations: 0 / 0.9286 GB, free: 6.406 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.244e-06/0.37, allocations: 0 / 0.9286 GB, free: 6.406 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003553/0.3704, allocations: 0 / 0.9286 GB, free: 6.406 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.0163/0.3867, allocations: 6.057 MB / 0.9345 GB, free: 288 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.3867, allocations: 8.75 kB / 0.9345 GB, free: 280 kB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007139/0.3939, allocations: 1.172 MB / 0.9357 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008536/0.4024, allocations: 3.47 MB / 0.9391 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003663/0.4028, allocations: 378.4 kB / 0.9394 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001384/0.4042, allocations: 0.4883 MB / 0.9399 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01766/0.4218, allocations: 8.862 MB / 0.9485 GB, free: 1.332 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001431/0.422, allocations: 23.81 kB / 0.9486 GB, free: 1.309 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006063/0.4226, allocations: 216 kB / 0.9488 GB, free: 1.098 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001115/0.4237, allocations: 441.5 kB / 0.9492 GB, free: 0.6641 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01298/0.4367, allocations: 6.077 MB / 0.9551 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04302/0.4797, allocations: 21.22 MB / 0.9759 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003474/0.4832, allocations: 1.913 MB / 0.9777 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002961/0.4861, allocations: 1.74 MB / 0.9794 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001866/0.4863, allocations: 22 kB / 0.9794 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.978e-05/0.4864, allocations: 52.56 kB / 0.9795 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=171): time 4.99e-06/0.4864, allocations: 0 / 0.9795 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=276): time 0.5463/1.033, allocations: 38.68 MB / 1.017 GB, free: 116.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/1.033, allocations: 81.58 kB / 1.017 GB, free: 116.2 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002326/1.035, allocations: 2.037 MB / 1.019 GB, free: 114.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003304/1.035, allocations: 73.7 kB / 1.019 GB, free: 114.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009616/1.036, allocations: 2.353 MB / 1.022 GB, free: 112.1 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006913/1.037, allocations: 0.977 MB / 1.023 GB, free: 111.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007559/1.038, allocations: 0.5142 MB / 1.023 GB, free: 110.7 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.555e-05/1.038, allocations: 305.1 kB / 1.023 GB, free: 110.4 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002199/1.04, allocations: 1.973 MB / 1.025 GB, free: 108.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002499/1.043, allocations: 2.606 MB / 1.028 GB, free: 105.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004988/1.048, allocations: 4.933 MB / 1.033 GB, free: 100.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/1.048, allocations: 4 kB / 1.033 GB, free: 100.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01213/1.06, allocations: 7.624 MB / 1.04 GB, free: 92.64 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/1.06, allocations: 12 kB / 1.04 GB, free: 92.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.489e-05/1.06, allocations: 16 kB / 1.04 GB, free: 92.61 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007875/1.068, allocations: 3.211 MB / 1.043 GB, free: 89.38 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/1.069, allocations: 399.3 kB / 1.044 GB, free: 88.99 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03459/1.104, allocations: 32.56 MB / 1.076 GB, free: 55.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003007/1.107, allocations: 171.5 kB / 1.076 GB, free: 55.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002683/1.107, allocations: 108 kB / 1.076 GB, free: 55.57 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00277/1.11, allocations: 1.801 MB / 1.078 GB, free: 53.76 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006916/1.11, allocations: 322 kB / 1.078 GB, free: 53.45 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/1.122, allocations: 7.224 MB / 1.085 GB, free: 46.14 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/1.122, allocations: 28.75 kB / 1.085 GB, free: 46.11 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.453e-05/1.122, allocations: 31.94 kB / 1.085 GB, free: 46.08 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.213e-05/1.122, allocations: 11.95 kB / 1.085 GB, free: 46.07 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01883/1.141, allocations: 11.39 MB / 1.096 GB, free: 34.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/1.141, allocations: 8.031 kB / 1.096 GB, free: 34.56 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008771/1.142, allocations: 231.6 kB / 1.096 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007029/1.149, allocations: 2.844 MB / 1.099 GB, free: 31.47 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002612/1.149, allocations: 50.41 kB / 1.099 GB, free: 31.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03327/1.182, allocations: 31.36 MB / 1.13 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.178e-05/1.182, allocations: 15.94 kB / 1.13 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01353/1.196, allocations: 6.754 MB / 1.136 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00245/1.198, allocations: 0.7024 MB / 1.137 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006108/1.199, allocations: 56 kB / 1.137 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001897/1.201, allocations: 167.8 kB / 1.137 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009184/1.202, allocations: 269.3 kB / 1.138 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002087/1.202, allocations: 76.94 kB / 1.138 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002142/1.204, allocations: 1.33 MB / 1.139 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.204, allocations: 0 / 1.139 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004601/1.209, allocations: 1.363 MB / 1.14 GB, free: 4.527 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003963/1.209, allocations: 181.8 kB / 1.14 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01278/1.222, allocations: 6.55 MB / 1.147 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.76e-05/1.222, allocations: 4 kB / 1.147 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.008675/1.23, allocations: 4.259 MB / 1.151 GB, free: 9.371 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004637/1.235, allocations: 1.016 MB / 1.152 GB, free: 8.441 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02131/1.256, allocations: 11.04 MB / 1.163 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005071/1.261, allocations: 3.224 MB / 1.166 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007732/1.262, allocations: 159.4 kB / 1.166 GB, free: 9.883 MB / 0.7637 GB Notification: Performance of SimCode: time 8.81e-07/1.262, allocations: 0 / 1.166 GB, free: 9.883 MB / 0.7637 GB Notification: Performance of Templates: time 0.6368/1.899, allocations: 228 MB / 1.389 GB, free: 287.4 MB / 0.92 GB " [Timeout remaining time 658] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 21.375071106944233] Failed to read output from testmodel.py, exit status != 0: 1.9077638117596507 1.918183572 1.5456699 Calling exit ...