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.0009573/0.0009573, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009422/0.0009422, allocations: 169 kB / 23.02 MB, free: 1.547 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.9231/0.9231, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.001496/0.001496, allocations: 240 kB / 260.2 MB, free: 12.83 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.7371/0.7371, allocations: 138.4 MB / 455.2 MB, free: 1.559 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.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: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.5551 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.356e-05/1.483e-05, allocations: 6.25 kB / 0.5551 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.01553/0.01555, allocations: 20.34 MB / 0.575 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0108/0.02635, allocations: 10.12 MB / 0.5849 GB, free: 1.934 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.02767, allocations: 206.4 kB / 0.5851 GB, free: 1.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001359/0.02903, allocations: 0.8685 MB / 0.5859 GB, free: 0.8555 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.003716/0.03275, allocations: 2.802 MB / 0.5887 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.03483, allocations: 1.833 MB / 0.5905 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.006002/0.04083, allocations: 8.915 MB / 0.5992 GB, free: 3.258 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2056/0.2464, allocations: 5.38 MB / 0.6044 GB, free: 66.71 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006168/0.2526, allocations: 5.523 MB / 0.6098 GB, free: 66.71 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00442/0.257, allocations: 3.968 MB / 0.6137 GB, free: 66.71 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001545/0.2586, allocations: 0.7167 MB / 0.6144 GB, free: 66.71 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001638/0.2602, allocations: 0.8093 MB / 0.6152 GB, free: 66.71 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.002295/0.2625, allocations: 3.069 MB / 0.6182 GB, free: 66.71 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.003237/0.2658, allocations: 2.402 MB / 0.6205 GB, free: 66.71 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.006565/0.2723, allocations: 5.767 MB / 0.6262 GB, free: 65.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2723, allocations: 0.5312 kB / 0.6262 GB, free: 65.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2723, allocations: 0.9062 kB / 0.6262 GB, free: 65.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001219/0.2724, allocations: 0 / 0.6262 GB, free: 65.9 MB / 0.5105 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.008407/0.2809, allocations: 6.19 MB / 0.6322 GB, free: 62.44 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.2809, allocations: 10.66 kB / 0.6322 GB, free: 62.44 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004166/0.2851, allocations: 1.81 MB / 0.634 GB, free: 61.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003774/0.2888, allocations: 3.429 MB / 0.6373 GB, free: 60.27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/0.289, allocations: 378.1 kB / 0.6377 GB, free: 60.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005351/0.2895, allocations: 0.5042 MB / 0.6382 GB, free: 59.94 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005793/0.2953, allocations: 5.487 MB / 0.6435 GB, free: 56.75 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-05/0.2954, allocations: 25.42 kB / 0.6436 GB, free: 56.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000391/0.2958, allocations: 220.5 kB / 0.6438 GB, free: 56.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005285/0.2963, allocations: 434.5 kB / 0.6442 GB, free: 56.55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003367/0.2997, allocations: 1.897 MB / 0.646 GB, free: 56.26 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01586/0.3155, allocations: 22.99 MB / 0.6685 GB, free: 38.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.3166, allocations: 0.9173 MB / 0.6694 GB, free: 37.61 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008806/0.3175, allocations: 0.7934 MB / 0.6702 GB, free: 36.83 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.482e-05/0.3176, allocations: 30 kB / 0.6702 GB, free: 36.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.3176, allocations: 55.39 kB / 0.6702 GB, free: 36.73 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=171): time 3.516e-06/0.3176, allocations: 0 / 0.6702 GB, free: 36.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=276): time 0.01383/0.3314, allocations: 8.991 MB / 0.679 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.3315, allocations: 84.48 kB / 0.6791 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.3328, allocations: 1.861 MB / 0.6809 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001159/0.3329, allocations: 73.7 kB / 0.681 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006118/0.3335, allocations: 2.409 MB / 0.6833 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004122/0.3339, allocations: 1.004 MB / 0.6843 GB, free: 22.42 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000533/0.3344, allocations: 0.5131 MB / 0.6848 GB, free: 21.89 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.31e-05/0.3345, allocations: 480.8 kB / 0.6853 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009252/0.3354, allocations: 0.6616 MB / 0.6859 GB, free: 20.75 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/0.3366, allocations: 1.546 MB / 0.6874 GB, free: 18.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002176/0.3387, allocations: 2.433 MB / 0.6898 GB, free: 16.16 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/0.3387, allocations: 4.75 kB / 0.6898 GB, free: 16.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.005811/0.3445, allocations: 4.247 MB / 0.694 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.3446, allocations: 12.19 kB / 0.694 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.3446, allocations: 20 kB / 0.694 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005617/0.3502, allocations: 2.583 MB / 0.6965 GB, free: 9.449 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007887/0.351, allocations: 407.1 kB / 0.6969 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01805/0.369, allocations: 20.47 MB / 0.7169 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.3706, allocations: 159.8 kB / 0.717 GB, free: 3.816 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000168/0.3708, allocations: 112 kB / 0.7172 GB, free: 3.707 MB / 0.5261 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.00139/0.3722, allocations: 316.8 kB / 0.7175 GB, free: 3.414 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004211/0.3726, allocations: 410 kB / 0.7178 GB, free: 3.012 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006344/0.379, allocations: 3.866 MB / 0.7216 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.379, allocations: 28 kB / 0.7216 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.745e-05/0.379, allocations: 28 kB / 0.7217 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.379, allocations: 11.95 kB / 0.7217 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/0.3906, allocations: 7.953 MB / 0.7295 GB, free: 7.148 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.3906, allocations: 4 kB / 0.7295 GB, free: 7.145 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004953/0.3911, allocations: 239 kB / 0.7297 GB, free: 6.926 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005558/0.3967, allocations: 2.39 MB / 0.732 GB, free: 4.539 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/0.3968, allocations: 56 kB / 0.7321 GB, free: 4.484 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01866/0.4154, allocations: 20.36 MB / 0.752 GB, free: 15.48 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.4155, allocations: 11.38 kB / 0.752 GB, free: 15.47 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005858/0.4213, allocations: 3.913 MB / 0.7558 GB, free: 11.41 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009679/0.4223, allocations: 0.6509 MB / 0.7564 GB, free: 10.76 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002298/0.4225, allocations: 52 kB / 0.7565 GB, free: 10.71 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000879/0.4234, allocations: 171.8 kB / 0.7566 GB, free: 10.54 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000427/0.4238, allocations: 268.5 kB / 0.7569 GB, free: 10.29 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/0.4239, allocations: 78.62 kB / 0.757 GB, free: 10.21 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001083/0.425, allocations: 1.064 MB / 0.758 GB, free: 9.137 MB / 0.573 GB Notification: Performance of sort global known variables: time 4e-08/0.425, allocations: 0 / 0.758 GB, free: 9.137 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002987/0.428, allocations: 1.375 MB / 0.7593 GB, free: 7.762 MB / 0.573 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.0002447/0.4282, allocations: 182.1 kB / 0.7595 GB, free: 7.59 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.005441/0.4337, allocations: 4.626 MB / 0.764 GB, free: 2.863 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.4337, allocations: 0.875 kB / 0.764 GB, free: 2.863 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.003625/0.4373, allocations: 3.588 MB / 0.7675 GB, free: 15.16 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/0.4397, allocations: 1.014 MB / 0.7685 GB, free: 14.21 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/0.4512, allocations: 8.884 MB / 0.7772 GB, free: 5.184 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001413/0.4526, allocations: 1.42 MB / 0.7786 GB, free: 3.742 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001052/0.4536, allocations: 466.6 kB / 0.779 GB, free: 3.281 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002771/0.4539, allocations: 148.5 kB / 0.7792 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of SimCode: time 1.483e-06/0.4539, allocations: 0 / 0.7792 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of Templates: time 0.2597/0.7136, allocations: 76.68 MB / 0.8541 GB, free: 189.6 MB / 0.6511 GB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.462053067982197]