Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.0008092/0.0008092, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007749/0.0007749, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8428/0.8428, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.001342/0.001342, allocations: 236.2 kB / 260.2 MB, free: 13.04 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.6754/0.6754, allocations: 138.4 MB / 455.1 MB, free: 29.94 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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.6475 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.55e-05, allocations: 5.234 kB / 0.6475 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.2194/0.2195, allocations: 9.46 MB / 0.6568 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002899/0.2224, allocations: 3.129 MB / 0.6598 GB, free: 50.22 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002741/0.2226, allocations: 44.81 kB / 0.6599 GB, free: 50.2 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0008413/0.2235, allocations: 0.6076 MB / 0.6605 GB, free: 49.86 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0007433/0.2242, allocations: 0.7978 MB / 0.6612 GB, free: 49.4 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007538/0.225, allocations: 0.7471 MB / 0.662 GB, free: 49.04 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001545/0.2265, allocations: 3.051 MB / 0.665 GB, free: 47.72 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.2276, allocations: 1.428 MB / 0.6664 GB, free: 47.02 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.2288, allocations: 1.734 MB / 0.668 GB, free: 46.23 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001099/0.2299, allocations: 1.562 MB / 0.6696 GB, free: 45.76 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002176/0.2301, allocations: 236.1 kB / 0.6698 GB, free: 45.76 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005784/0.2307, allocations: 488.4 kB / 0.6703 GB, free: 45.67 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005605/0.2312, allocations: 1.153 MB / 0.6714 GB, free: 45.17 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004801/0.2317, allocations: 0.7861 MB / 0.6722 GB, free: 44.81 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002394/0.2341, allocations: 3.791 MB / 0.6759 GB, free: 43.66 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2341, allocations: 2.797 kB / 0.6759 GB, free: 43.66 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2341, allocations: 0 / 0.6759 GB, free: 43.66 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.998e-05/0.2341, allocations: 0 / 0.6759 GB, free: 43.66 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.002056/0.2362, allocations: 2.095 MB / 0.6779 GB, free: 42.43 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.2362, allocations: 13.91 kB / 0.6779 GB, free: 42.43 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004761/0.241, allocations: 1.356 MB / 0.6792 GB, free: 42.26 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/0.2426, allocations: 1.265 MB / 0.6805 GB, free: 41.6 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.29e-05/0.2427, allocations: 116.3 kB / 0.6806 GB, free: 41.55 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002392/0.2429, allocations: 145.1 kB / 0.6807 GB, free: 41.5 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00381/0.2467, allocations: 3.515 MB / 0.6842 GB, free: 40.11 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.229e-05/0.2468, allocations: 2.5 kB / 0.6842 GB, free: 40.11 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/0.2469, allocations: 64.31 kB / 0.6842 GB, free: 40.06 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001841/0.2471, allocations: 212.5 kB / 0.6844 GB, free: 40.03 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003379/0.2505, allocations: 3.12 MB / 0.6875 GB, free: 39.02 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008429/0.2589, allocations: 9.819 MB / 0.6971 GB, free: 32.85 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.2604, allocations: 1.616 MB / 0.6986 GB, free: 32.05 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/0.2617, allocations: 1.332 MB / 0.6999 GB, free: 31.4 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.894e-05/0.2617, allocations: 10.97 kB / 0.7 GB, free: 31.4 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.2617, allocations: 45.62 kB / 0.7 GB, free: 31.35 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=104): time 2.415e-06/0.2617, allocations: 1.656 kB / 0.7 GB, free: 31.35 MB / 0.5573 GB Notification: Performance of matching and sorting (n=183): time 0.0657/0.3275, allocations: 36.19 MB / 0.7353 GB, free: 0.8008 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.3275, allocations: 69.41 kB / 0.7354 GB, free: 0.7227 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008537/0.3283, allocations: 1.044 MB / 0.7364 GB, free: 15.66 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.3284, allocations: 57.7 kB / 0.7365 GB, free: 15.6 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003453/0.3288, allocations: 0.809 MB / 0.7373 GB, free: 14.79 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000368/0.3292, allocations: 0.639 MB / 0.7379 GB, free: 14.14 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004682/0.3296, allocations: 367.5 kB / 0.7382 GB, free: 13.78 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.944e-05/0.3297, allocations: 301.1 kB / 0.7385 GB, free: 13.48 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00177/0.3315, allocations: 1.928 MB / 0.7404 GB, free: 11.55 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001993/0.3335, allocations: 2.289 MB / 0.7426 GB, free: 9.141 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003763/0.3372, allocations: 4.391 MB / 0.7469 GB, free: 4.625 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.3372, allocations: 4 kB / 0.7469 GB, free: 4.621 MB / 0.573 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01138/0.3486, allocations: 8.877 MB / 0.7556 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.3486, allocations: 12 kB / 0.7556 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.3486, allocations: 8 kB / 0.7556 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008907/0.3575, allocations: 4.962 MB / 0.7605 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000504/0.3581, allocations: 198.8 kB / 0.7607 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03406/0.3921, allocations: 37.82 MB / 0.7976 GB, free: 300 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.3934, allocations: 99.89 kB / 0.7977 GB, free: 200 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.3935, allocations: 68 kB / 0.7978 GB, free: 132 kB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001183/0.3947, allocations: 0.8018 MB / 0.7985 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.3948, allocations: 143.1 kB / 0.7987 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01139/0.4062, allocations: 8.741 MB / 0.8072 GB, free: 6.398 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.4062, allocations: 20 kB / 0.8072 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.352e-05/0.4063, allocations: 31.98 kB / 0.8073 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.4063, allocations: 15.91 kB / 0.8073 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01526/0.4215, allocations: 12.38 MB / 0.8194 GB, free: 9.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.4215, allocations: 4 kB / 0.8194 GB, free: 9.836 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.4218, allocations: 119.8 kB / 0.8195 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008643/0.4304, allocations: 4.827 MB / 0.8242 GB, free: 4.875 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/0.4306, allocations: 36 kB / 0.8242 GB, free: 4.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03228/0.4628, allocations: 35.75 MB / 0.8591 GB, free: 0.6641 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.4628, allocations: 11.94 kB / 0.8592 GB, free: 0.6523 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/0.474, allocations: 8.44 MB / 0.8674 GB, free: 8.121 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00077/0.4748, allocations: 0.5692 MB / 0.868 GB, free: 7.551 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/0.4749, allocations: 39.98 kB / 0.868 GB, free: 7.512 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006034/0.4755, allocations: 95.83 kB / 0.8681 GB, free: 7.418 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004218/0.4759, allocations: 161.6 kB / 0.8682 GB, free: 7.262 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.424e-05/0.476, allocations: 48 kB / 0.8683 GB, free: 7.215 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006945/0.4767, allocations: 0.718 MB / 0.869 GB, free: 6.484 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4767, allocations: 4 kB / 0.869 GB, free: 6.48 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001898/0.4786, allocations: 1.012 MB / 0.87 GB, free: 5.469 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002148/0.4788, allocations: 142.3 kB / 0.8701 GB, free: 5.324 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005749/0.4846, allocations: 5.751 MB / 0.8757 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4846, allocations: 7.938 kB / 0.8757 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.004146/0.4887, allocations: 3.777 MB / 0.8794 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008429/0.4896, allocations: 235.1 kB / 0.8797 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005173/0.4948, allocations: 5.441 MB / 0.885 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009902/0.4958, allocations: 1.306 MB / 0.8862 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.4959, allocations: 64.5 kB / 0.8863 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of SimCode: time 1.232e-06/0.4959, allocations: 0 / 0.8863 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of Templates: time 0.2617/0.7576, allocations: 70.08 MB / 0.9547 GB, free: 242.6 MB / 0.7605 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.750928923487663] Failed to read output from testmodel.py, exit status != 0: 0.7630845131352544 0.770661081 0.535017528 Calling exit ...