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.001716/0.001716, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00245/0.00245, allocations: 217.9 kB / 23.05 MB, free: 5.074 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.002582/0.002582, allocations: 281.1 kB / 313.5 MB, free: 2.801 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.228/1.228, allocations: 180.6 MB / 0.5377 GB, free: 13.04 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="cs",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="cs",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.002825/0.002825, allocations: 93.33 kB / 0.7404 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1559, allocations: 95.39 MB / 0.8335 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04397/0.1999, allocations: 34.82 MB / 0.8675 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02588/0.2257, allocations: 15.31 MB / 0.8825 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00308/0.2288, allocations: 206.4 kB / 0.8827 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01095/0.2398, allocations: 3.814 MB / 0.8864 GB, free: 2.324 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008685/0.2485, allocations: 3.011 MB / 0.8893 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006704/0.2552, allocations: 2.382 MB / 0.8917 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01424/0.2694, allocations: 8.827 MB / 0.9003 GB, free: 4.059 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01/0.2794, allocations: 5.534 MB / 0.9057 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007727/0.2871, allocations: 4.082 MB / 0.9097 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00799/0.2951, allocations: 4.264 MB / 0.9138 GB, free: 6.031 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002431/0.2976, allocations: 0.7227 MB / 0.9145 GB, free: 5.309 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005008/0.3026, allocations: 1.744 MB / 0.9162 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004855/0.3074, allocations: 2.891 MB / 0.9191 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.007315/0.3147, allocations: 3.396 MB / 0.9224 GB, free: 13.25 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.02085/0.3356, allocations: 11.22 MB / 0.9333 GB, free: 1.992 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.3356, allocations: 4 kB / 0.9333 GB, free: 1.988 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3356, allocations: 0 / 0.9333 GB, free: 1.988 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0004005/0.336, allocations: 0 / 0.9333 GB, free: 1.988 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.01664/0.3526, allocations: 6.06 MB / 0.9393 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.3527, allocations: 9.344 kB / 0.9393 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001545/0.3528, allocations: 134.2 kB / 0.9394 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002116/0.355, allocations: 0.727 MB / 0.9401 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00802/0.363, allocations: 1.164 MB / 0.9412 GB, free: 9.812 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009064/0.372, allocations: 3.478 MB / 0.9446 GB, free: 6.246 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004398/0.3725, allocations: 371 kB / 0.945 GB, free: 5.883 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00208/0.3746, allocations: 495.9 kB / 0.9455 GB, free: 5.398 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0214/0.396, allocations: 8.009 MB / 0.9533 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003488/0.3963, allocations: 19.89 kB / 0.9533 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001958/0.3983, allocations: 216 kB / 0.9535 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001302/0.3996, allocations: 433.6 kB / 0.9539 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01586/0.4154, allocations: 6.085 MB / 0.9599 GB, free: 6.359 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0517/0.4671, allocations: 34.66 MB / 0.9937 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3679/0.8351, allocations: 1.906 MB / 0.9956 GB, free: 146.1 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002656/0.8377, allocations: 1.75 MB / 0.9973 GB, free: 145.9 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.8378, allocations: 18.09 kB / 0.9973 GB, free: 145.9 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.686e-05/0.8379, allocations: 57.03 kB / 0.9974 GB, free: 145.9 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=171): time 4.178e-06/0.8379, allocations: 4.406 kB / 0.9974 GB, free: 145.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=276): time 0.1482/0.9861, allocations: 38.71 MB / 1.035 GB, free: 128.2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.9861, allocations: 81.58 kB / 1.035 GB, free: 128.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003254/0.9894, allocations: 2.275 MB / 1.037 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003824/0.9897, allocations: 73.7 kB / 1.038 GB, free: 125.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001034/0.9908, allocations: 2.344 MB / 1.04 GB, free: 123.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007792/0.9916, allocations: 0.9835 MB / 1.041 GB, free: 122.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001045/0.9926, allocations: 0.5025 MB / 1.041 GB, free: 122.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.263e-05/0.9926, allocations: 305.1 kB / 1.042 GB, free: 122.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002348/0.995, allocations: 1.978 MB / 1.043 GB, free: 120.1 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002581/0.9976, allocations: 2.606 MB / 1.046 GB, free: 117.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005288/1.003, allocations: 4.929 MB / 1.051 GB, free: 112.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.828e-05/1.003, allocations: 4 kB / 1.051 GB, free: 112.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01278/1.016, allocations: 7.646 MB / 1.058 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/1.016, allocations: 12.66 kB / 1.058 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.579e-05/1.016, allocations: 16 kB / 1.058 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008483/1.024, allocations: 3.213 MB / 1.061 GB, free: 101.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/1.026, allocations: 407.2 kB / 1.062 GB, free: 100.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03649/1.062, allocations: 33.3 MB / 1.094 GB, free: 66.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003035/1.065, allocations: 167.8 kB / 1.095 GB, free: 66.56 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004419/1.066, allocations: 105 kB / 1.095 GB, free: 66.46 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.002669/1.068, allocations: 1.798 MB / 1.096 GB, free: 64.65 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007735/1.069, allocations: 353.8 kB / 1.097 GB, free: 64.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01245/1.082, allocations: 7.237 MB / 1.104 GB, free: 56.99 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/1.082, allocations: 24 kB / 1.104 GB, free: 56.96 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.894e-05/1.082, allocations: 32 kB / 1.104 GB, free: 56.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.172e-05/1.082, allocations: 11.95 kB / 1.104 GB, free: 56.92 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02115/1.103, allocations: 12.81 MB / 1.116 GB, free: 44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.201e-05/1.103, allocations: 4 kB / 1.116 GB, free: 43.99 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009486/1.104, allocations: 227.6 kB / 1.117 GB, free: 43.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007539/1.111, allocations: 2.852 MB / 1.119 GB, free: 40.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003275/1.112, allocations: 52 kB / 1.119 GB, free: 40.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0348/1.147, allocations: 32.08 MB / 1.151 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.147, allocations: 11.94 kB / 1.151 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01141/1.158, allocations: 6.786 MB / 1.157 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002116/1.16, allocations: 0.7285 MB / 1.158 GB, free: 356 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009177/1.161, allocations: 56 kB / 1.158 GB, free: 300 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002286/1.163, allocations: 171.9 kB / 1.158 GB, free: 128 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009812/1.164, allocations: 269 kB / 1.159 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003072/1.165, allocations: 76 kB / 1.159 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003136/1.168, allocations: 1.525 MB / 1.16 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9e-08/1.168, allocations: 0 / 1.16 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00529/1.173, allocations: 1.371 MB / 1.161 GB, free: 12.89 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.01486/1.188, allocations: 7.412 MB / 1.169 GB, free: 5.258 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01361/1.201, allocations: 6.557 MB / 1.175 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.31e-05/1.201, allocations: 8.125 kB / 1.175 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.008634/1.21, allocations: 4.253 MB / 1.179 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005754/1.216, allocations: 1.12 MB / 1.18 GB, free: 9.223 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07953/1.295, allocations: 39.07 MB / 1.219 GB, free: 1.051 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005836/1.301, allocations: 3.643 MB / 1.222 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002189/1.303, allocations: 0.5595 MB / 1.223 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002894/1.306, allocations: 1.972 MB / 1.225 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of SimCode: time 1.242e-06/1.306, allocations: 0 / 1.225 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2197/1.526, allocations: 115.5 MB / 1.337 GB, free: 8.562 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.83/20.35, allocations: 12 kB / 1.337 GB, free: 8.551 MB / 0.92 GB " [Timeout remaining time 639] (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: 25.62513315700926] Failed to read output from testmodel.py, exit status != 0: 20.58565355394967 20.952426209 20.613401675 Calling exit ...