Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.0007965/0.0007965, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0008553/0.0008553, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8807/0.8807, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.001504/0.001504, allocations: 236.8 kB / 259.4 MB, free: 13.03 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.6798/0.6798, allocations: 138.4 MB / 454.3 MB, free: 30.03 MB / 410.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: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.6463 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.343e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.828 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.2617/0.2617, allocations: 21.82 MB / 0.6676 GB, free: 44.74 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.008831/0.2706, allocations: 6.392 MB / 0.6739 GB, free: 40.54 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002058/0.2726, allocations: 127.2 kB / 0.674 GB, free: 40.48 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.00238/0.275, allocations: 1.506 MB / 0.6755 GB, free: 39.65 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003568/0.2786, allocations: 1.985 MB / 0.6774 GB, free: 38.5 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002769/0.2814, allocations: 1.476 MB / 0.6788 GB, free: 37.7 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.006398/0.2878, allocations: 7.026 MB / 0.6857 GB, free: 34.59 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006514/0.2943, allocations: 3.751 MB / 0.6894 GB, free: 32.7 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007113/0.3014, allocations: 4.015 MB / 0.6933 GB, free: 30.82 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005557/0.3069, allocations: 3.403 MB / 0.6966 GB, free: 29.73 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.001692/0.3086, allocations: 0.528 MB / 0.6971 GB, free: 29.73 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003118/0.3117, allocations: 1.133 MB / 0.6982 GB, free: 29.52 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.003358/0.3151, allocations: 2.663 MB / 0.7008 GB, free: 28.24 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.003644/0.3187, allocations: 1.756 MB / 0.7025 GB, free: 27.27 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.007902/0.3267, allocations: 8.684 MB / 0.711 GB, free: 21.12 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.3267, allocations: 4 kB / 0.711 GB, free: 21.12 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3267, allocations: 1.094 kB / 0.711 GB, free: 21.12 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003185/0.327, allocations: 0 / 0.711 GB, free: 21.12 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01014/0.3371, allocations: 4.426 MB / 0.7153 GB, free: 18.09 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.3372, allocations: 12.25 kB / 0.7154 GB, free: 18.09 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009322/0.3381, allocations: 0.5768 MB / 0.7159 GB, free: 17.68 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0049/0.343, allocations: 1.711 MB / 0.7176 GB, free: 16.8 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004825/0.3478, allocations: 2.669 MB / 0.7202 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/0.348, allocations: 283.4 kB / 0.7205 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009185/0.3489, allocations: 356.9 kB / 0.7208 GB, free: 14.92 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008655/0.3575, allocations: 7.708 MB / 0.7283 GB, free: 6.902 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.436e-05/0.3576, allocations: 12.12 kB / 0.7284 GB, free: 6.891 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003435/0.358, allocations: 164 kB / 0.7285 GB, free: 6.73 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003836/0.3583, allocations: 491.3 kB / 0.729 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007713/0.3661, allocations: 5.694 MB / 0.7345 GB, free: 0.5508 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02623/0.3923, allocations: 20.52 MB / 0.7546 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001954/0.3942, allocations: 2.019 MB / 0.7565 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002277/0.3965, allocations: 2.104 MB / 0.7586 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.3966, allocations: 17.31 kB / 0.7586 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.3967, allocations: 43.88 kB / 0.7587 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=146): time 4.177e-06/0.3967, allocations: 0 / 0.7587 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of matching and sorting (n=251): time 0.149/0.5456, allocations: 76.73 MB / 0.8336 GB, free: 10.56 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.5457, allocations: 85.34 kB / 0.8337 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002127/0.5478, allocations: 1.697 MB / 0.8353 GB, free: 8.723 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003956/0.5482, allocations: 69.7 kB / 0.8354 GB, free: 8.648 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008413/0.5491, allocations: 1.792 MB / 0.8371 GB, free: 6.84 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007032/0.5498, allocations: 0.8829 MB / 0.838 GB, free: 5.949 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006816/0.5504, allocations: 481.4 kB / 0.8385 GB, free: 5.473 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.291e-05/0.5505, allocations: 305.1 kB / 0.8388 GB, free: 5.172 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002745/0.5533, allocations: 2.73 MB / 0.8414 GB, free: 2.438 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00308/0.5563, allocations: 3.328 MB / 0.8447 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006197/0.5625, allocations: 6.397 MB / 0.8509 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/0.5625, allocations: 7.938 kB / 0.8509 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02042/0.583, allocations: 14.41 MB / 0.865 GB, free: 9.758 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/0.583, allocations: 16 kB / 0.865 GB, free: 9.742 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-05/0.583, allocations: 16 kB / 0.865 GB, free: 9.727 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01733/0.6003, allocations: 9.2 MB / 0.874 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008079/0.6012, allocations: 308.3 kB / 0.8743 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05519/0.6563, allocations: 51.02 MB / 0.9241 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002378/0.6587, allocations: 215.7 kB / 0.9243 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003391/0.6591, allocations: 101 kB / 0.9244 GB, free: 12.15 MB / 0.7605 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 (157): * Single equations (assignments): 151 * 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003022/0.6621, allocations: 1.585 MB / 0.926 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005314/0.6626, allocations: 258.6 kB / 0.9262 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2953/0.9579, allocations: 14.47 MB / 0.9404 GB, free: 234.5 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.527e-05/0.9579, allocations: 24.88 kB / 0.9404 GB, free: 234.5 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001359/0.9581, allocations: 44.41 kB / 0.9404 GB, free: 234.5 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.41e-05/0.9581, allocations: 16.5 kB / 0.9404 GB, free: 234.5 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02965/0.9878, allocations: 19.52 MB / 0.9595 GB, free: 230.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.363e-05/0.9878, allocations: 6.969 kB / 0.9595 GB, free: 230.4 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000525/0.9883, allocations: 163.9 kB / 0.9597 GB, free: 230.4 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01742/1.006, allocations: 8.977 MB / 0.9684 GB, free: 229.3 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003674/1.006, allocations: 47.5 kB / 0.9685 GB, free: 229.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.045/1.051, allocations: 50.58 MB / 1.018 GB, free: 199.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.051, allocations: 4 kB / 1.018 GB, free: 199.9 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02064/1.072, allocations: 14.09 MB / 1.032 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00235/1.074, allocations: 0.7793 MB / 1.032 GB, free: 184.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000486/1.075, allocations: 53.97 kB / 1.032 GB, free: 184.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001688/1.076, allocations: 211.6 kB / 1.033 GB, free: 184.6 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001414/1.078, allocations: 253.3 kB / 1.033 GB, free: 184.4 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002119/1.078, allocations: 64 kB / 1.033 GB, free: 184.3 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.00147/1.079, allocations: 1.125 MB / 1.034 GB, free: 183.2 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.7e-07/1.079, allocations: 0 / 1.034 GB, free: 183.2 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.004611/1.084, allocations: 1.62 MB / 1.036 GB, free: 181.6 MB / 0.7605 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 (80): * Single equations (assignments): 74 * 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01656/1.101, allocations: 14.69 MB / 1.05 GB, free: 166.7 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01229/1.113, allocations: 10.18 MB / 1.06 GB, free: 156.5 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/1.113, allocations: 6.625 kB / 1.06 GB, free: 156.5 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.009488/1.122, allocations: 6.992 MB / 1.067 GB, free: 149.5 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002263/1.125, allocations: 0.5639 MB / 1.067 GB, free: 149 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05667/1.181, allocations: 50.6 MB / 1.117 GB, free: 97.38 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00263/1.184, allocations: 2.673 MB / 1.119 GB, free: 94.66 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0008131/1.185, allocations: 399.3 kB / 1.12 GB, free: 94.27 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008977/1.186, allocations: 1.461 MB / 1.121 GB, free: 92.8 MB / 0.7605 GB Notification: Performance of SimCode: time 1.784e-06/1.186, allocations: 0 / 1.121 GB, free: 92.8 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3676/1.553, allocations: 129.4 MB / 1.248 GB, free: 235.7 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.943/10.5, allocations: 2.969 kB / 1.248 GB, free: 235.7 MB / 0.7761 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.28849637042731] Failed to read output from testmodel.py, exit status != 0: 10.62237693183124 10.630948743 10.30229317 Calling exit ...