Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.001416/0.001416, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.00142/0.00142, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.305/1.305, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 179] 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.002413/0.002413, allocations: 285.6 kB / 303 MB, free: 9.566 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.129/1.129, allocations: 180.9 MB / 0.5261 GB, free: 14.59 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: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002682/0.002682, allocations: 100 kB / 0.7248 GB, free: 39.89 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1452, allocations: 94.16 MB / 0.8167 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.0353/0.1805, allocations: 31.22 MB / 0.8472 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02132/0.2018, allocations: 13.71 MB / 0.8606 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0031/0.2049, allocations: 143.2 kB / 0.8607 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.008395/0.2133, allocations: 3.246 MB / 0.8639 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007203/0.2205, allocations: 2.755 MB / 0.8666 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005165/0.2257, allocations: 2.029 MB / 0.8686 GB, free: 132 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00943/0.2351, allocations: 7.629 MB / 0.876 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008508/0.2436, allocations: 6.132 MB / 0.882 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00524/0.2489, allocations: 3.478 MB / 0.8854 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005255/0.2541, allocations: 3.562 MB / 0.8889 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0009238/0.255, allocations: 0.5976 MB / 0.8895 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002944/0.258, allocations: 1.525 MB / 0.891 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002236/0.2602, allocations: 2.424 MB / 0.8933 GB, free: 6.609 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003038/0.2633, allocations: 2.882 MB / 0.8962 GB, free: 3.715 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009271/0.2725, allocations: 9.492 MB / 0.9054 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2725, allocations: 0 / 0.9054 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2725, allocations: 0 / 0.9054 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001221/0.2727, allocations: 4 kB / 0.9054 GB, free: 10.19 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.009131/0.2818, allocations: 5.259 MB / 0.9106 GB, free: 4.844 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.2818, allocations: 12.03 kB / 0.9106 GB, free: 4.832 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007981/0.2826, allocations: 0.6203 MB / 0.9112 GB, free: 4.199 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005272/0.2879, allocations: 1.024 MB / 0.9122 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006453/0.2943, allocations: 3.097 MB / 0.9152 GB, free: 15.99 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002297/0.2946, allocations: 316.8 kB / 0.9155 GB, free: 15.68 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006399/0.2952, allocations: 427.8 kB / 0.9159 GB, free: 15.27 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01025/0.3055, allocations: 6.788 MB / 0.9225 GB, free: 8.18 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.657e-05/0.3056, allocations: 23.83 kB / 0.9226 GB, free: 8.156 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003938/0.306, allocations: 180 kB / 0.9227 GB, free: 7.98 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007826/0.3067, allocations: 372 kB / 0.9231 GB, free: 7.613 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007825/0.3146, allocations: 5.114 MB / 0.9281 GB, free: 2.48 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03302/0.3476, allocations: 30.57 MB / 0.9579 GB, free: 1.145 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001912/0.3495, allocations: 1.321 MB / 0.9592 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001604/0.3511, allocations: 1.249 MB / 0.9605 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.204e-05/0.3512, allocations: 17.31 kB / 0.9605 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.3512, allocations: 51.81 kB / 0.9605 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=130): time 2.565e-06/0.3512, allocations: 0 / 0.9605 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of matching and sorting (n=199): time 0.08255/0.4338, allocations: 23.07 MB / 0.9831 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.4338, allocations: 73.41 kB / 0.9831 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002858/0.4367, allocations: 2.063 MB / 0.9851 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001613/0.4369, allocations: 61.7 kB / 0.9852 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001466/0.4383, allocations: 2.063 MB / 0.9872 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006199/0.4389, allocations: 0.7126 MB / 0.9879 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000733/0.4397, allocations: 412.4 kB / 0.9883 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.4398, allocations: 309.1 kB / 0.9886 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002127/0.4419, allocations: 1.43 MB / 0.99 GB, free: 132 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002904/0.4448, allocations: 2.01 MB / 0.992 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00578/0.4506, allocations: 3.696 MB / 0.9956 GB, free: 9.934 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.286e-05/0.4506, allocations: 8 kB / 0.9956 GB, free: 9.926 MB / 0.7481 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01164/0.4623, allocations: 5.593 MB / 1.001 GB, free: 4.266 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.524e-05/0.4623, allocations: 12 kB / 1.001 GB, free: 4.254 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/0.4623, allocations: 16 kB / 1.001 GB, free: 4.238 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006713/0.469, allocations: 2.087 MB / 1.003 GB, free: 2.098 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/0.4705, allocations: 371.4 kB / 1.003 GB, free: 1.734 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.362/0.8325, allocations: 38.47 MB / 1.041 GB, free: 141.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002022/0.8345, allocations: 133 kB / 1.041 GB, free: 141.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/0.8347, allocations: 95 kB / 1.041 GB, free: 141.5 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.001757/0.8364, allocations: 1.494 MB / 1.043 GB, free: 140.8 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002974/0.8367, allocations: 298.4 kB / 1.043 GB, free: 140.8 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008045/0.8448, allocations: 5.14 MB / 1.048 GB, free: 138.7 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.8448, allocations: 18.78 kB / 1.048 GB, free: 138.7 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.239e-05/0.8448, allocations: 20.75 kB / 1.048 GB, free: 138.7 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.8448, allocations: 12.5 kB / 1.048 GB, free: 138.7 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01304/0.8579, allocations: 9.606 MB / 1.057 GB, free: 134.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.8579, allocations: 6.25 kB / 1.057 GB, free: 134.1 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006899/0.8586, allocations: 217.5 kB / 1.058 GB, free: 134 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004647/0.8632, allocations: 1.848 MB / 1.059 GB, free: 133 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001108/0.8633, allocations: 39 kB / 1.059 GB, free: 133 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02478/0.8881, allocations: 37.47 MB / 1.096 GB, free: 93.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.8881, allocations: 11.94 kB / 1.096 GB, free: 93.57 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007032/0.8951, allocations: 4.855 MB / 1.101 GB, free: 88.57 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/0.8964, allocations: 0.6241 MB / 1.101 GB, free: 87.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002952/0.8967, allocations: 43.98 kB / 1.101 GB, free: 87.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.8979, allocations: 131.8 kB / 1.102 GB, free: 87.75 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004575/0.8983, allocations: 189.6 kB / 1.102 GB, free: 87.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.8984, allocations: 61.34 kB / 1.102 GB, free: 87.51 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001341/0.8998, allocations: 1.378 MB / 1.103 GB, free: 86.12 MB / 0.7481 GB Notification: Performance of sort global known variables: time 6e-08/0.8998, allocations: 0 / 1.103 GB, free: 86.12 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002574/0.9024, allocations: 1.047 MB / 1.104 GB, free: 85.08 MB / 0.7481 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006692/0.909, allocations: 5.475 MB / 1.11 GB, free: 79.44 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.007267/0.9163, allocations: 6.02 MB / 1.115 GB, free: 73.21 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/0.9163, allocations: 0 / 1.115 GB, free: 73.21 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004817/0.9211, allocations: 4.284 MB / 1.12 GB, free: 68.7 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003282/0.9244, allocations: 0.9973 MB / 1.121 GB, free: 67.77 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03809/0.9625, allocations: 30.65 MB / 1.151 GB, free: 36.12 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002367/0.9649, allocations: 3.121 MB / 1.154 GB, free: 32.96 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001408/0.9663, allocations: 0.5198 MB / 1.154 GB, free: 32.44 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001274/0.9676, allocations: 1.671 MB / 1.156 GB, free: 30.77 MB / 0.7481 GB Notification: Performance of SimCode: time 6.81e-07/0.9676, allocations: 0 / 1.156 GB, free: 30.77 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.197/1.165, allocations: 88.75 MB / 1.242 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.33/15.5, allocations: 15.94 kB / 1.242 GB, free: 7.203 MB / 0.8106 GB " [Timeout remaining time 644] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.63629362685606] Failed to read output from testmodel.py, exit status != 0: 15.624703445006162 15.638314872 15.363044951 Calling exit ...