Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001456/0.001456, allocations: 109.4 kB / 19.58 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.001667/0.001667, allocations: 188.3 kB / 22.85 MB, free: 5.648 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.338/1.338, allocations: 225.6 MB / 251.5 MB, free: 13.02 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.00242/0.00242, allocations: 286.1 kB / 307 MB, free: 8.355 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.15/1.15, allocations: 180.8 MB / 0.5304 GB, free: 14.5 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.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002752/0.002752, allocations: 101.5 kB / 0.7311 GB, free: 38.88 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1484, allocations: 94.21 MB / 0.8231 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04337/0.1918, allocations: 36.5 MB / 0.8588 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01667/0.2085, allocations: 10.27 MB / 0.8688 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002226/0.2107, allocations: 190.6 kB / 0.869 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00962/0.2203, allocations: 3.997 MB / 0.8729 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005683/0.226, allocations: 2.142 MB / 0.875 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00471/0.2307, allocations: 2.029 MB / 0.877 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009699/0.2404, allocations: 7.975 MB / 0.8847 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007387/0.2478, allocations: 4.919 MB / 0.8896 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005002/0.2528, allocations: 3.451 MB / 0.8929 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005771/0.2586, allocations: 3.949 MB / 0.8968 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001066/0.2596, allocations: 0.6758 MB / 0.8974 GB, free: 5.5 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002562/0.2622, allocations: 1.362 MB / 0.8988 GB, free: 4.137 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002578/0.2648, allocations: 2.685 MB / 0.9014 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003415/0.2682, allocations: 3.101 MB / 0.9044 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.2786, allocations: 10.41 MB / 0.9146 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2786, allocations: 0 / 0.9146 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2786, allocations: 0 / 0.9146 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.000173/0.2787, allocations: 4 kB / 0.9146 GB, free: 3.883 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01039/0.2891, allocations: 5.455 MB / 0.9199 GB, free: 14.37 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.2892, allocations: 8.625 kB / 0.9199 GB, free: 14.36 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004408/0.2936, allocations: 0.9928 MB / 0.9209 GB, free: 13.36 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006399/0.3, allocations: 3.136 MB / 0.924 GB, free: 10.16 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002631/0.3003, allocations: 353.9 kB / 0.9243 GB, free: 9.812 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007109/0.301, allocations: 468.3 kB / 0.9247 GB, free: 9.355 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01296/0.3139, allocations: 8.667 MB / 0.9332 GB, free: 144 kB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.36e-05/0.314, allocations: 23.81 kB / 0.9332 GB, free: 120 kB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004871/0.3145, allocations: 208 kB / 0.9334 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005167/0.315, allocations: 369.1 kB / 0.9338 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009588/0.3246, allocations: 5.933 MB / 0.9396 GB, free: 9.602 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03692/0.3615, allocations: 35.57 MB / 0.9743 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003417/0.3649, allocations: 1.995 MB / 0.9763 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001977/0.3669, allocations: 1.337 MB / 0.9776 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.197e-05/0.367, allocations: 17.31 kB / 0.9776 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.775e-05/0.3671, allocations: 55.81 kB / 0.9776 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=157): time 2.905e-06/0.3671, allocations: 4 kB / 0.9776 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of matching and sorting (n=160): time 0.0135/0.3806, allocations: 6.663 MB / 0.9841 GB, free: 8.656 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.3806, allocations: 72.72 kB / 0.9842 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002664/0.3833, allocations: 1.86 MB / 0.986 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000121/0.3834, allocations: 57.7 kB / 0.9861 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0016/0.385, allocations: 2.18 MB / 0.9882 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005384/0.3855, allocations: 0.5888 MB / 0.9888 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000644/0.3862, allocations: 404 kB / 0.9892 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.3863, allocations: 305.1 kB / 0.9895 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001681/0.388, allocations: 1.062 MB / 0.9905 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002273/0.3903, allocations: 1.768 MB / 0.9922 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004139/0.3944, allocations: 3.045 MB / 0.9952 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.486e-05/0.3944, allocations: 8 kB / 0.9952 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006743/0.4012, allocations: 3.903 MB / 0.999 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/0.4012, allocations: 20.25 kB / 0.999 GB, free: 8.645 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-05/0.4012, allocations: 20 kB / 0.9991 GB, free: 8.625 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002527/0.4037, allocations: 0.9311 MB / 1 GB, free: 7.656 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/0.4052, allocations: 431.2 kB / 1 GB, free: 7.234 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.367/0.7722, allocations: 21.54 MB / 1.021 GB, free: 157.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/0.7741, allocations: 126.8 kB / 1.022 GB, free: 157.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/0.7743, allocations: 93.66 kB / 1.022 GB, free: 157.1 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002454/0.7767, allocations: 1.655 MB / 1.023 GB, free: 156.4 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003885/0.7771, allocations: 265.3 kB / 1.023 GB, free: 156.4 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005487/0.7826, allocations: 3.233 MB / 1.027 GB, free: 155.1 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/0.7826, allocations: 16.75 kB / 1.027 GB, free: 155.1 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/0.7827, allocations: 9.344 kB / 1.027 GB, free: 155.1 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/0.7827, allocations: 9.344 kB / 1.027 GB, free: 155.1 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01151/0.7942, allocations: 7.517 MB / 1.034 GB, free: 152 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.7942, allocations: 6.078 kB / 1.034 GB, free: 152 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00083/0.795, allocations: 214 kB / 1.034 GB, free: 152 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002003/0.797, allocations: 0.8942 MB / 1.035 GB, free: 151.7 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.111e-05/0.7971, allocations: 35.22 kB / 1.035 GB, free: 151.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01424/0.8114, allocations: 21.51 MB / 1.056 GB, free: 133.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.8114, allocations: 7.797 kB / 1.056 GB, free: 133.6 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004126/0.8155, allocations: 3.358 MB / 1.059 GB, free: 131.7 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/0.8165, allocations: 472.6 kB / 1.06 GB, free: 131.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003866/0.8169, allocations: 39.73 kB / 1.06 GB, free: 131.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.818, allocations: 94.73 kB / 1.06 GB, free: 131.5 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000328/0.8183, allocations: 151.5 kB / 1.06 GB, free: 131.4 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-05/0.8184, allocations: 46.12 kB / 1.06 GB, free: 131.4 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001478/0.8199, allocations: 1.225 MB / 1.061 GB, free: 130.7 MB / 0.7481 GB Notification: Performance of sort global known variables: time 7e-08/0.8199, allocations: 0 / 1.061 GB, free: 130.7 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002334/0.8222, allocations: 0.9042 MB / 1.062 GB, free: 130.6 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00022/0.8224, allocations: 155.3 kB / 1.062 GB, free: 130.4 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00476/0.8272, allocations: 4.297 MB / 1.067 GB, free: 126 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.8272, allocations: 0 / 1.067 GB, free: 126 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003034/0.8302, allocations: 2.906 MB / 1.069 GB, free: 123 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002919/0.8332, allocations: 0.8295 MB / 1.07 GB, free: 122.2 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/0.8438, allocations: 7.833 MB / 1.078 GB, free: 114.3 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002956/0.8467, allocations: 3.209 MB / 1.081 GB, free: 111 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001499/0.8482, allocations: 0.5225 MB / 1.082 GB, free: 110.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003771/0.8486, allocations: 147.4 kB / 1.082 GB, free: 110.4 MB / 0.7481 GB Notification: Performance of SimCode: time 7.72e-07/0.8486, allocations: 0 / 1.082 GB, free: 110.4 MB / 0.7481 GB Notification: Performance of Templates: time 0.05786/0.9065, allocations: 43.55 MB / 1.124 GB, free: 67.53 MB / 0.7481 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.6116517779883] Failed to read output from testmodel.py, exit status != 0: 0.9135757880285382 0.922907031 0.642138673 Calling exit ...