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.001282/0.001282, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.00145/0.00145, allocations: 214.3 kB / 22.25 MB, free: 5.082 MB / 14.72 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 1.354/1.354, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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.002559/0.002559, allocations: 294.1 kB / 312.7 MB, free: 2.785 MB / 238.1 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 1.157/1.157, allocations: 180.6 MB / 0.5369 GB, free: 13.03 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 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: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002758/0.002758, allocations: 100 kB / 0.7396 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1518, allocations: 95.38 MB / 0.8327 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04029/0.1921, allocations: 34.82 MB / 0.8667 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02371/0.2158, allocations: 15.31 MB / 0.8817 GB, free: 6.328 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002932/0.2187, allocations: 206.4 kB / 0.8819 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.009609/0.2283, allocations: 3.822 MB / 0.8856 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008036/0.2364, allocations: 3.016 MB / 0.8886 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005925/0.2423, allocations: 2.38 MB / 0.8909 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01102/0.2533, allocations: 8.812 MB / 0.8995 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008537/0.2619, allocations: 5.549 MB / 0.9049 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00581/0.2677, allocations: 4.071 MB / 0.9089 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006695/0.2744, allocations: 4.264 MB / 0.9131 GB, free: 6.008 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001638/0.276, allocations: 0.7148 MB / 0.9138 GB, free: 5.293 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003998/0.28, allocations: 1.751 MB / 0.9155 GB, free: 3.539 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003733/0.2837, allocations: 2.895 MB / 0.9183 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.005142/0.2889, allocations: 3.396 MB / 0.9216 GB, free: 13.23 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01176/0.3006, allocations: 11.22 MB / 0.9326 GB, free: 1.969 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.3006, allocations: 0 / 0.9326 GB, free: 1.969 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3006, allocations: 0 / 0.9326 GB, free: 1.969 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001918/0.3008, allocations: 0 / 0.9326 GB, free: 1.969 MB / 0.67 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.01128/0.3121, allocations: 6.06 MB / 0.9385 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3122, allocations: 13.34 kB / 0.9385 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009501/0.3131, allocations: 0.727 MB / 0.9392 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005984/0.3191, allocations: 1.164 MB / 0.9404 GB, free: 9.922 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00717/0.3263, allocations: 3.478 MB / 0.9437 GB, free: 6.355 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002776/0.3265, allocations: 370.4 kB / 0.9441 GB, free: 5.992 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000778/0.3273, allocations: 499.9 kB / 0.9446 GB, free: 5.504 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01253/0.3398, allocations: 7.997 MB / 0.9524 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000112/0.3399, allocations: 23.83 kB / 0.9524 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004855/0.3404, allocations: 216 kB / 0.9526 GB, free: 13 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009939/0.3414, allocations: 437.6 kB / 0.953 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01019/0.3516, allocations: 6.081 MB / 0.959 GB, free: 6.473 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0435/0.3951, allocations: 34.66 MB / 0.9928 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3404/0.7355, allocations: 1.911 MB / 0.9947 GB, free: 145.8 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002491/0.738, allocations: 1.747 MB / 0.9964 GB, free: 145.6 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.7381, allocations: 22.09 kB / 0.9964 GB, free: 145.6 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.7382, allocations: 57.73 kB / 0.9965 GB, free: 145.6 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=171): time 4.288e-06/0.7382, allocations: 1.359 kB / 0.9965 GB, free: 145.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=276): time 0.1319/0.8701, allocations: 38.71 MB / 1.034 GB, free: 128.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.8701, allocations: 82.73 kB / 1.034 GB, free: 128.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/0.8724, allocations: 2.283 MB / 1.037 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002045/0.8726, allocations: 73.7 kB / 1.037 GB, free: 125.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008784/0.8734, allocations: 2.335 MB / 1.039 GB, free: 123.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005374/0.874, allocations: 0.9787 MB / 1.04 GB, free: 122.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006936/0.8747, allocations: 0.5064 MB / 1.04 GB, free: 122.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.635e-05/0.8747, allocations: 301.1 kB / 1.041 GB, free: 122.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002036/0.8767, allocations: 1.977 MB / 1.043 GB, free: 120.1 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002285/0.879, allocations: 2.602 MB / 1.045 GB, free: 117.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004515/0.8835, allocations: 4.929 MB / 1.05 GB, free: 112.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.8835, allocations: 8.547 kB / 1.05 GB, free: 112.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.011/0.8945, allocations: 7.65 MB / 1.057 GB, free: 104.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.8946, allocations: 18.06 kB / 1.057 GB, free: 104.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.8946, allocations: 20.56 kB / 1.057 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007226/0.9018, allocations: 3.209 MB / 1.061 GB, free: 101.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.9031, allocations: 399.9 kB / 1.061 GB, free: 100.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03175/0.9348, allocations: 33.29 MB / 1.093 GB, free: 66.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002448/0.9373, allocations: 167.8 kB / 1.094 GB, free: 66.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001946/0.9375, allocations: 104 kB / 1.094 GB, free: 66.49 MB / 0.7325 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.002319/0.9398, allocations: 1.805 MB / 1.096 GB, free: 64.68 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004564/0.9402, allocations: 347.1 kB / 1.096 GB, free: 64.34 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01078/0.951, allocations: 7.239 MB / 1.103 GB, free: 57.02 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.951, allocations: 28 kB / 1.103 GB, free: 56.99 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-05/0.9511, allocations: 31.94 kB / 1.103 GB, free: 56.96 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.718e-05/0.9511, allocations: 11.95 kB / 1.103 GB, free: 56.95 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01745/0.9685, allocations: 12.79 MB / 1.115 GB, free: 44.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.9685, allocations: 8 kB / 1.115 GB, free: 44.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007588/0.9693, allocations: 227.6 kB / 1.116 GB, free: 43.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006451/0.9758, allocations: 2.854 MB / 1.118 GB, free: 40.93 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000152/0.9759, allocations: 52 kB / 1.119 GB, free: 40.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03092/1.007, allocations: 32.09 MB / 1.15 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/1.007, allocations: 11.94 kB / 1.15 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00975/1.017, allocations: 6.794 MB / 1.157 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001785/1.018, allocations: 0.7247 MB / 1.157 GB, free: 372 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004157/1.019, allocations: 56 kB / 1.157 GB, free: 316 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001513/1.02, allocations: 163.8 kB / 1.157 GB, free: 152 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007782/1.021, allocations: 261.4 kB / 1.158 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001893/1.021, allocations: 79.98 kB / 1.158 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002231/1.024, allocations: 1.521 MB / 1.159 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9e-08/1.024, allocations: 0 / 1.159 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004126/1.028, allocations: 1.371 MB / 1.161 GB, free: 12.92 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 (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.01274/1.04, allocations: 7.418 MB / 1.168 GB, free: 5.281 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01144/1.052, allocations: 6.561 MB / 1.174 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/1.052, allocations: 0 / 1.174 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.007666/1.059, allocations: 4.254 MB / 1.178 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004317/1.064, allocations: 1.132 MB / 1.18 GB, free: 9.242 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06415/1.128, allocations: 39.06 MB / 1.218 GB, free: 1.086 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004265/1.132, allocations: 3.647 MB / 1.221 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001807/1.134, allocations: 0.5595 MB / 1.222 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002314/1.136, allocations: 1.968 MB / 1.224 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of SimCode: time 8.32e-07/1.136, allocations: 0 / 1.224 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2071/1.343, allocations: 115.5 MB / 1.336 GB, free: 8.609 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.7/19.05, allocations: 3.938 kB / 1.336 GB, free: 8.605 MB / 0.92 GB " [Timeout remaining time 641] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.61715487507172] Failed to read output from testmodel.py, exit status != 0: 19.218973885057494 19.53924692 19.235682021 Calling exit ...