Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001709/0.001709, allocations: 116.1 kB / 17.17 MB, free: 6 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.001386/0.001386, allocations: 209.6 kB / 20.13 MB, free: 3.055 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.47/1.47, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.002532/0.002532, allocations: 281.2 kB / 309.8 MB, free: 3.438 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.088/1.088, allocations: 180.6 MB / 0.5338 GB, free: 12.39 MB / 398.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_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.004862/0.004862, allocations: 99.84 kB / 0.7347 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.54/0.5449, allocations: 95.34 MB / 0.8278 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02418/0.5691, allocations: 20.6 MB / 0.8479 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01458/0.5836, allocations: 6.545 MB / 0.8543 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003395/0.587, allocations: 111.4 kB / 0.8544 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.007052/0.5941, allocations: 2.281 MB / 0.8566 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004819/0.5989, allocations: 1.241 MB / 0.8578 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003935/0.6028, allocations: 1.283 MB / 0.8591 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006749/0.6096, allocations: 4.845 MB / 0.8638 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005774/0.6154, allocations: 4.235 MB / 0.868 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005419/0.6208, allocations: 2.154 MB / 0.8701 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004954/0.6257, allocations: 2.477 MB / 0.8725 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0008435/0.6266, allocations: 429.2 kB / 0.8729 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002674/0.6293, allocations: 1.025 MB / 0.8739 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002249/0.6315, allocations: 1.707 MB / 0.8756 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003477/0.635, allocations: 1.911 MB / 0.8774 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.008757/0.6437, allocations: 6.532 MB / 0.8838 GB, free: 15 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.6438, allocations: 1.406 kB / 0.8838 GB, free: 15 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6438, allocations: 0 / 0.8838 GB, free: 15 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001767/0.6439, allocations: 0 / 0.8838 GB, free: 15 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009792/0.6537, allocations: 3.541 MB / 0.8873 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.6538, allocations: 10.06 kB / 0.8873 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001385/0.6539, allocations: 78.78 kB / 0.8874 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009557/0.6549, allocations: 462.5 kB / 0.8878 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003886/0.6588, allocations: 0.6551 MB / 0.8884 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004773/0.6635, allocations: 2.054 MB / 0.8904 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/0.6637, allocations: 218.3 kB / 0.8907 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006195/0.6643, allocations: 295.9 kB / 0.8909 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009193/0.6735, allocations: 4.894 MB / 0.8957 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.71e-05/0.6736, allocations: 7.938 kB / 0.8957 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003462/0.6739, allocations: 128 kB / 0.8958 GB, free: 4.012 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004684/0.6744, allocations: 229.7 kB / 0.8961 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007319/0.6817, allocations: 3.75 MB / 0.8997 GB, free: 24 kB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02621/0.7079, allocations: 21.44 MB / 0.9207 GB, free: 8.582 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/0.7099, allocations: 1.236 MB / 0.9219 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.7114, allocations: 0.9946 MB / 0.9228 GB, free: 6.34 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.041e-05/0.7115, allocations: 16.94 kB / 0.9229 GB, free: 6.324 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.7115, allocations: 43.56 kB / 0.9229 GB, free: 6.273 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=107): time 3.226e-06/0.7115, allocations: 4 kB / 0.9229 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=138): time 0.02658/0.7381, allocations: 8.653 MB / 0.9314 GB, free: 13.55 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.7381, allocations: 64.72 kB / 0.9314 GB, free: 13.48 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.7397, allocations: 1.13 MB / 0.9325 GB, free: 12.34 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001425/0.7399, allocations: 53.7 kB / 0.9326 GB, free: 12.29 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009815/0.7409, allocations: 1.327 MB / 0.9339 GB, free: 10.95 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004973/0.7414, allocations: 0.5074 MB / 0.9344 GB, free: 10.44 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005014/0.7419, allocations: 291.5 kB / 0.9346 GB, free: 10.15 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.742, allocations: 305.1 kB / 0.9349 GB, free: 9.848 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/0.7434, allocations: 0.9096 MB / 0.9358 GB, free: 8.938 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/0.7451, allocations: 1.322 MB / 0.9371 GB, free: 7.445 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003294/0.7483, allocations: 2.43 MB / 0.9395 GB, free: 4.848 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.7484, allocations: 4 kB / 0.9395 GB, free: 4.844 MB / 0.67 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006502/0.7549, allocations: 3.437 MB / 0.9428 GB, free: 1.387 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.7549, allocations: 8 kB / 0.9429 GB, free: 1.379 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/0.7549, allocations: 12 kB / 0.9429 GB, free: 1.367 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003447/0.7584, allocations: 1.187 MB / 0.944 GB, free: 180 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.7594, allocations: 255.5 kB / 0.9443 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01948/0.7789, allocations: 13.86 MB / 0.9578 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.7804, allocations: 91.92 kB / 0.9579 GB, free: 1.566 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/0.7805, allocations: 67.98 kB / 0.958 GB, free: 1.5 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001979/0.7825, allocations: 1.117 MB / 0.959 GB, free: 384 kB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003468/0.7829, allocations: 174.9 kB / 0.9592 GB, free: 208 kB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006154/0.789, allocations: 3.118 MB / 0.9623 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/0.789, allocations: 23.94 kB / 0.9623 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.008e-05/0.7891, allocations: 12 kB / 0.9623 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.748e-05/0.7891, allocations: 7.969 kB / 0.9623 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01118/0.8003, allocations: 6.198 MB / 0.9684 GB, free: 6.676 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.8003, allocations: 4 kB / 0.9684 GB, free: 6.672 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000607/0.8009, allocations: 148.3 kB / 0.9685 GB, free: 6.527 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003032/0.8039, allocations: 1.078 MB / 0.9696 GB, free: 5.441 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-05/0.804, allocations: 24 kB / 0.9696 GB, free: 5.418 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01851/0.8225, allocations: 13.55 MB / 0.9828 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.8225, allocations: 7.938 kB / 0.9828 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005669/0.8282, allocations: 3.12 MB / 0.9859 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009543/0.8291, allocations: 435.9 kB / 0.9863 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002483/0.8294, allocations: 28.33 kB / 0.9863 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008342/0.8302, allocations: 83.89 kB / 0.9864 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003762/0.8306, allocations: 128.7 kB / 0.9865 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-05/0.8307, allocations: 40 kB / 0.9865 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001098/0.8318, allocations: 0.7632 MB / 0.9873 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8318, allocations: 7.938 kB / 0.9873 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002232/0.834, allocations: 0.6602 MB / 0.9879 GB, free: 2.086 MB / 0.7169 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005866/0.8399, allocations: 3.705 MB / 0.9916 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005287/0.8452, allocations: 3.009 MB / 0.9945 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.8452, allocations: 0 / 0.9945 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003201/0.8484, allocations: 1.88 MB / 0.9963 GB, free: 9.316 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/0.8508, allocations: 0.5058 MB / 0.9968 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03378/0.8846, allocations: 19.12 MB / 1.016 GB, free: 5.117 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002774/0.8874, allocations: 2.332 MB / 1.018 GB, free: 2.75 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001136/0.8885, allocations: 346.1 kB / 1.018 GB, free: 2.406 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001324/0.8898, allocations: 1.011 MB / 1.019 GB, free: 1.395 MB / 0.7481 GB Notification: Performance of SimCode: time 7.21e-07/0.8898, allocations: 0 / 1.019 GB, free: 1.395 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.103/0.9928, allocations: 52.74 MB / 1.071 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.89, allocations: 14.42 kB / 1.071 GB, free: 13.34 MB / 0.8106 GB " [Timeout remaining time 646] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.263079480966553] Failed to read output from testmodel.py, exit status != 0: 14.05828921799548 14.080843696 13.432386645 Calling exit ...