Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 101.7 kB / 19.59 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 194.8 kB / 22.85 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.6 MB / 251.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002564/0.002564, allocations: 291.9 kB / 307 MB, free: 8.359 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.189/1.189, allocations: 180.8 MB / 0.5304 GB, free: 14.46 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002745/0.002745, allocations: 99.23 kB / 0.7311 GB, free: 38.63 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1542, allocations: 94.2 MB / 0.8231 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01516/0.1694, allocations: 11.5 MB / 0.8343 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01006/0.1794, allocations: 5.964 MB / 0.8402 GB, free: 384 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005892/0.18, allocations: 75.31 kB / 0.8402 GB, free: 308 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004505/0.1845, allocations: 1.8 MB / 0.842 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002516/0.1871, allocations: 1.178 MB / 0.8431 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001922/0.189, allocations: 0.8183 MB / 0.8439 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002428/0.1914, allocations: 2.131 MB / 0.846 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/0.1927, allocations: 1.037 MB / 0.847 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.1938, allocations: 0.868 MB / 0.8479 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0013/0.1951, allocations: 0.9688 MB / 0.8488 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001686/0.1953, allocations: 112 kB / 0.8489 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001937/0.1972, allocations: 1.068 MB / 0.85 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005453/0.1977, allocations: 0.5412 MB / 0.8505 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007922/0.1985, allocations: 0.7849 MB / 0.8513 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00274/0.2013, allocations: 2.451 MB / 0.8537 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.2013, allocations: 4 kB / 0.8537 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.597e-06/0.2013, allocations: 3.984 kB / 0.8537 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.094e-05/0.2013, allocations: 0 / 0.8537 GB, free: 2.473 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002905/0.2042, allocations: 1.84 MB / 0.8555 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2042, allocations: 8.625 kB / 0.8555 GB, free: 0.582 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004517/0.2088, allocations: 0.6786 MB / 0.8561 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/0.2104, allocations: 0.9174 MB / 0.857 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.733e-05/0.2105, allocations: 98.89 kB / 0.8571 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002148/0.2107, allocations: 124.3 kB / 0.8573 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003354/0.2141, allocations: 2.415 MB / 0.8596 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.877e-05/0.2141, allocations: 15.83 kB / 0.8596 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001468/0.2143, allocations: 63.97 kB / 0.8597 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002352/0.2145, allocations: 162.3 kB / 0.8598 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003101/0.2176, allocations: 1.867 MB / 0.8617 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01245/0.2301, allocations: 11.71 MB / 0.8731 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004355/0.2344, allocations: 1.86 MB / 0.8749 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008594/0.2353, allocations: 0.5581 MB / 0.8755 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001266/0.2354, allocations: 28.97 kB / 0.8755 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/0.2355, allocations: 43.56 kB / 0.8755 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=103): time 2.926e-06/0.2355, allocations: 0 / 0.8755 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of matching and sorting (n=110): time 0.006061/0.2415, allocations: 3.137 MB / 0.8786 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.2416, allocations: 60.41 kB / 0.8787 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.2427, allocations: 0.9167 MB / 0.8796 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.307e-05/0.2428, allocations: 45.7 kB / 0.8796 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005736/0.2434, allocations: 0.7494 MB / 0.8803 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003631/0.2437, allocations: 408.6 kB / 0.8807 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004358/0.2442, allocations: 291.4 kB / 0.881 GB, free: 5.254 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.2443, allocations: 305.1 kB / 0.8813 GB, free: 4.953 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000992/0.2453, allocations: 0.6168 MB / 0.8819 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/0.2467, allocations: 1.102 MB / 0.883 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002459/0.2491, allocations: 1.835 MB / 0.8848 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.2492, allocations: 4 kB / 0.8848 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00347/0.2526, allocations: 2.105 MB / 0.8868 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.2527, allocations: 12 kB / 0.8868 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.2527, allocations: 16 kB / 0.8868 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008445/0.2535, allocations: 254.7 kB / 0.8871 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.2548, allocations: 375.4 kB / 0.8874 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009552/0.2644, allocations: 10.77 MB / 0.898 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.2654, allocations: 123.8 kB / 0.8981 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.2655, allocations: 75.92 kB / 0.8982 GB, free: 2.27 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006461/0.2662, allocations: 409.9 kB / 0.8985 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/0.2664, allocations: 135.2 kB / 0.8987 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002838/0.2692, allocations: 1.673 MB / 0.9003 GB, free: 24 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.2692, allocations: 12 kB / 0.9003 GB, free: 12 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2692, allocations: 4 kB / 0.9003 GB, free: 8 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.2692, allocations: 3.984 kB / 0.9003 GB, free: 4 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005198/0.2744, allocations: 3.259 MB / 0.9035 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.2744, allocations: 8 kB / 0.9035 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008595/0.2753, allocations: 220.3 kB / 0.9037 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007222/0.276, allocations: 242.6 kB / 0.904 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-05/0.2761, allocations: 35.94 kB / 0.904 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009287/0.2854, allocations: 10.75 MB / 0.9145 GB, free: 424 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/0.2854, allocations: 7.938 kB / 0.9145 GB, free: 416 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00289/0.2883, allocations: 1.808 MB / 0.9163 GB, free: 14.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005551/0.2888, allocations: 235 kB / 0.9165 GB, free: 14.27 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.289, allocations: 28 kB / 0.9165 GB, free: 14.24 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007108/0.2897, allocations: 91.86 kB / 0.9166 GB, free: 14.15 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001976/0.2899, allocations: 100.7 kB / 0.9167 GB, free: 14.05 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.15e-05/0.29, allocations: 39.94 kB / 0.9167 GB, free: 14.01 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008138/0.2908, allocations: 0.6177 MB / 0.9173 GB, free: 13.38 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.2908, allocations: 0 / 0.9173 GB, free: 13.38 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001395/0.2922, allocations: 392 kB / 0.9177 GB, free: 13 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002349/0.2924, allocations: 143 kB / 0.9178 GB, free: 12.85 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003556/0.296, allocations: 2.399 MB / 0.9202 GB, free: 10.35 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.296, allocations: 4.25 kB / 0.9202 GB, free: 10.35 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002176/0.2981, allocations: 1.59 MB / 0.9217 GB, free: 8.656 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/0.2997, allocations: 360.1 kB / 0.9221 GB, free: 8.32 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004285/0.304, allocations: 2.809 MB / 0.9248 GB, free: 5.41 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/0.305, allocations: 1.327 MB / 0.9261 GB, free: 4.051 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008757/0.3059, allocations: 359.3 kB / 0.9265 GB, free: 3.695 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/0.3062, allocations: 95.42 kB / 0.9266 GB, free: 3.602 MB / 0.67 GB Notification: Performance of SimCode: time 5.71e-07/0.3062, allocations: 0 / 0.9266 GB, free: 3.602 MB / 0.67 GB Notification: Performance of Templates: time 0.03138/0.3376, allocations: 18.45 MB / 0.9446 GB, free: 1.324 MB / 0.6856 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.530705081066117] Failed to read output from testmodel.py, exit status != 0: 0.3451050049625337 0.35998082000000003 0.15567444700000002 Calling exit ...