Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.001561/0.001561, allocations: 109.8 kB / 19.58 MB, free: 2.336 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.001871/0.001871, allocations: 193.4 kB / 22.85 MB, free: 5.645 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.447/1.447, 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.002532/0.002532, allocations: 289.1 kB / 307 MB, free: 8.348 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.224/1.224, allocations: 180.8 MB / 0.5304 GB, free: 14.4 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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00288/0.00288, allocations: 101.2 kB / 0.7311 GB, free: 38.77 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1552, allocations: 94.21 MB / 0.8231 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02981/0.185, allocations: 24.26 MB / 0.8468 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01255/0.1975, allocations: 6.648 MB / 0.8533 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00213/0.1997, allocations: 127.1 kB / 0.8534 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004857/0.2045, allocations: 1.569 MB / 0.8549 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005475/0.21, allocations: 1.941 MB / 0.8568 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004254/0.2142, allocations: 1.511 MB / 0.8583 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.009173/0.2234, allocations: 6.905 MB / 0.865 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006839/0.2303, allocations: 3.495 MB / 0.8685 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004698/0.235, allocations: 2.898 MB / 0.8713 GB, free: 344 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006198/0.2412, allocations: 3.743 MB / 0.8749 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001378/0.2425, allocations: 0.5234 MB / 0.8755 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002755/0.2453, allocations: 1.12 MB / 0.8765 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003208/0.2485, allocations: 2.533 MB / 0.879 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003881/0.2524, allocations: 2.536 MB / 0.8815 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01033/0.2627, allocations: 8.542 MB / 0.8898 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.2627, allocations: 4 kB / 0.8898 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2627, allocations: 0 / 0.8898 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002758/0.263, allocations: 0 / 0.8898 GB, free: 13.28 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01066/0.2737, allocations: 4.472 MB / 0.8942 GB, free: 8.75 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.2737, allocations: 8.625 kB / 0.8942 GB, free: 8.742 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008923/0.2826, allocations: 1.699 MB / 0.8959 GB, free: 7.039 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005729/0.2884, allocations: 2.668 MB / 0.8985 GB, free: 4.328 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002402/0.2886, allocations: 275.7 kB / 0.8987 GB, free: 4.059 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001079/0.2897, allocations: 360.3 kB / 0.8991 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01509/0.3048, allocations: 7.491 MB / 0.9064 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.857e-05/0.3049, allocations: 23.83 kB / 0.9064 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005509/0.3054, allocations: 163.9 kB / 0.9066 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006508/0.3061, allocations: 487.3 kB / 0.907 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01114/0.3172, allocations: 5.693 MB / 0.9126 GB, free: 5.59 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04096/0.3582, allocations: 31.16 MB / 0.943 GB, free: 3.645 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003033/0.3612, allocations: 2.016 MB / 0.945 GB, free: 1.617 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003111/0.3643, allocations: 2.104 MB / 0.9471 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/0.3645, allocations: 13.31 kB / 0.9471 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.3645, allocations: 51.88 kB / 0.9471 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=146): time 5.34e-06/0.3645, allocations: 4 kB / 0.9471 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of matching and sorting (n=251): time 0.6807/1.045, allocations: 76.71 MB / 1.022 GB, free: 172.8 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.442e-05/1.045, allocations: 77 kB / 1.022 GB, free: 172.8 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002592/1.048, allocations: 1.67 MB / 1.024 GB, free: 171.9 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0003823/1.048, allocations: 62.14 kB / 1.024 GB, free: 171.8 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009701/1.049, allocations: 1.801 MB / 1.026 GB, free: 170.5 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.00068/1.05, allocations: 0.8931 MB / 1.026 GB, free: 169.8 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009537/1.051, allocations: 486.4 kB / 1.027 GB, free: 169.6 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 3.6e-05/1.051, allocations: 301.1 kB / 1.027 GB, free: 169.3 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002973/1.054, allocations: 2.733 MB / 1.03 GB, free: 167.9 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003208/1.057, allocations: 3.329 MB / 1.033 GB, free: 165.7 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00636/1.063, allocations: 6.393 MB / 1.039 GB, free: 161.9 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/1.063, allocations: 9.984 kB / 1.039 GB, free: 161.9 MB / 0.7481 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02738/1.091, allocations: 14.41 MB / 1.053 GB, free: 149.3 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/1.091, allocations: 12 kB / 1.053 GB, free: 149.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/1.091, allocations: 20 kB / 1.053 GB, free: 149.3 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02646/1.117, allocations: 9.196 MB / 1.062 GB, free: 140.1 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/1.118, allocations: 296 kB / 1.063 GB, free: 139.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06457/1.183, allocations: 51.8 MB / 1.113 GB, free: 87.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00285/1.186, allocations: 229.2 kB / 1.114 GB, free: 87.15 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002605/1.186, allocations: 100 kB / 1.114 GB, free: 87.05 MB / 0.7481 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 (157): * Single equations (assignments): 151 * 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002069/1.188, allocations: 1.586 MB / 1.115 GB, free: 85.46 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004728/1.189, allocations: 254.6 kB / 1.115 GB, free: 85.21 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02779/1.216, allocations: 14.48 MB / 1.13 GB, free: 70.68 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.217e-05/1.216, allocations: 27.94 kB / 1.13 GB, free: 70.65 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001321/1.217, allocations: 44 kB / 1.13 GB, free: 70.61 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.816e-05/1.217, allocations: 11.95 kB / 1.13 GB, free: 70.59 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03626/1.253, allocations: 20.22 MB / 1.149 GB, free: 50.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.323e-05/1.253, allocations: 12.16 kB / 1.149 GB, free: 50.23 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007074/1.254, allocations: 159.8 kB / 1.15 GB, free: 50.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02659/1.28, allocations: 8.959 MB / 1.158 GB, free: 41.09 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004316/1.281, allocations: 48 kB / 1.158 GB, free: 41.04 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06943/1.35, allocations: 51.35 MB / 1.208 GB, free: 5.016 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.198e-05/1.35, allocations: 11.88 kB / 1.208 GB, free: 5.004 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03491/1.385, allocations: 14.09 MB / 1.222 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003074/1.388, allocations: 0.7827 MB / 1.223 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001141/1.389, allocations: 61.56 kB / 1.223 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003013/1.392, allocations: 208.5 kB / 1.223 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001655/1.394, allocations: 253.4 kB / 1.224 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003026/1.394, allocations: 64 kB / 1.224 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002122/1.396, allocations: 1.125 MB / 1.225 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/1.396, allocations: 0 / 1.225 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.007011/1.403, allocations: 1.609 MB / 1.226 GB, free: 2.664 MB / 0.7794 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 (80): * 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: 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006208/1.404, allocations: 167 kB / 1.226 GB, free: 2.492 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0253/1.429, allocations: 10.21 MB / 1.236 GB, free: 8.23 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/1.429, allocations: 4 kB / 1.236 GB, free: 8.227 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.01956/1.449, allocations: 7 MB / 1.243 GB, free: 1.168 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003238/1.452, allocations: 0.5525 MB / 1.244 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01708/1.469, allocations: 8.942 MB / 1.252 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004307/1.473, allocations: 3.22 MB / 1.256 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001123/1.475, allocations: 391.3 kB / 1.256 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/1.475, allocations: 103.4 kB / 1.256 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of SimCode: time 9.61e-07/1.475, allocations: 3.938 kB / 1.256 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of Templates: time 0.1708/1.646, allocations: 96.08 MB / 1.35 GB, free: 4.141 MB / 0.9044 GB " [Timeout remaining time 658] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.529528254002798] Failed to read output from testmodel.py, exit status != 0: 1.9694799059943762 1.982479123 1.71673058 Calling exit ...