Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.001267/0.001267, 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.001381/0.001381, allocations: 209.5 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.447/1.447, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.00244/0.00244, allocations: 284.9 kB / 309.8 MB, free: 3.406 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.067/1.067, 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.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.002848/0.002848, allocations: 99.84 kB / 0.7347 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5637/0.5666, allocations: 95.34 MB / 0.8278 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007382/0.5739, allocations: 6.249 MB / 0.8339 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005871/0.5798, allocations: 3.252 MB / 0.8371 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006908/0.5805, allocations: 41.03 kB / 0.8371 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002634/0.5831, allocations: 0.9414 MB / 0.838 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.5846, allocations: 496.6 kB / 0.8385 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.5861, allocations: 0.4931 MB / 0.839 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001443/0.5875, allocations: 1.108 MB / 0.8401 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008018/0.5883, allocations: 0.5083 MB / 0.8406 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007639/0.5891, allocations: 457.5 kB / 0.841 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006915/0.5898, allocations: 0.495 MB / 0.8415 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.595e-05/0.5899, allocations: 58.31 kB / 0.8415 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.591, allocations: 0.4959 MB / 0.842 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004042/0.5914, allocations: 290.8 kB / 0.8423 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004679/0.5919, allocations: 405.8 kB / 0.8427 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001901/0.5938, allocations: 1.186 MB / 0.8438 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.5938, allocations: 0 / 0.8438 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5938, allocations: 1.031 kB / 0.8438 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.295e-05/0.5938, allocations: 0 / 0.8438 GB, free: 9.445 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002167/0.596, allocations: 1.083 MB / 0.8449 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.596, allocations: 9.688 kB / 0.8449 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.795e-05/0.5961, allocations: 17.31 kB / 0.8449 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001734/0.5963, allocations: 121 kB / 0.845 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001687/0.5979, allocations: 219.9 kB / 0.8452 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.5992, allocations: 0.6011 MB / 0.8458 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.238e-05/0.5993, allocations: 46.73 kB / 0.8459 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/0.5995, allocations: 69.41 kB / 0.8459 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.6012, allocations: 1.032 MB / 0.8469 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/0.6012, allocations: 8.062 kB / 0.847 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.415e-05/0.6013, allocations: 29.98 kB / 0.847 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-05/0.6014, allocations: 68.64 kB / 0.8471 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.6025, allocations: 0.6914 MB / 0.8477 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005916/0.6084, allocations: 5.741 MB / 0.8533 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008978/0.6093, allocations: 0.5539 MB / 0.8539 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008251/0.6102, allocations: 386.2 kB / 0.8542 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.933e-05/0.6102, allocations: 4.344 kB / 0.8542 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.6102, allocations: 38.08 kB / 0.8543 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=41): time 2.354e-06/0.6102, allocations: 0 / 0.8543 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.005033/0.6153, allocations: 2.021 MB / 0.8563 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.6153, allocations: 60.88 kB / 0.8563 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006543/0.616, allocations: 468 kB / 0.8568 GB, free: 388 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.45e-05/0.616, allocations: 35.98 kB / 0.8568 GB, free: 348 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/0.6163, allocations: 395.6 kB / 0.8572 GB, free: 24 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001743/0.6165, allocations: 154.7 kB / 0.8573 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002071/0.6167, allocations: 114.2 kB / 0.8574 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001905/0.6169, allocations: 364.2 kB / 0.8578 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000378/0.6173, allocations: 247.5 kB / 0.858 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005666/0.6178, allocations: 455.3 kB / 0.8584 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.6189, allocations: 0.7468 MB / 0.8592 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.6189, allocations: 2.375 kB / 0.8592 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002053/0.621, allocations: 1.032 MB / 0.8602 GB, free: 14 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.621, allocations: 12.44 kB / 0.8602 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.621, allocations: 6.656 kB / 0.8602 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.6221, allocations: 327 kB / 0.8605 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003114/0.6224, allocations: 92.73 kB / 0.8606 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00768/0.63, allocations: 7.476 MB / 0.8679 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005489/0.6306, allocations: 34.23 kB / 0.8679 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.161e-05/0.6306, allocations: 25.12 kB / 0.868 GB, free: 6.922 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003941/0.631, allocations: 245.3 kB / 0.8682 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.6311, allocations: 64.56 kB / 0.8683 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001754/0.6329, allocations: 0.8763 MB / 0.8691 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.6329, allocations: 9.484 kB / 0.8691 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.6329, allocations: 4.125 kB / 0.8691 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.6329, allocations: 3.984 kB / 0.8691 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002879/0.6358, allocations: 1.676 MB / 0.8708 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.6358, allocations: 1.594 kB / 0.8708 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.636, allocations: 44.98 kB / 0.8708 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009913/0.637, allocations: 307.9 kB / 0.8711 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/0.637, allocations: 6.625 kB / 0.8711 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007798/0.6448, allocations: 7.477 MB / 0.8784 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.6448, allocations: 1.375 kB / 0.8784 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/0.6468, allocations: 0.9793 MB / 0.8794 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000315/0.6472, allocations: 177.6 kB / 0.8795 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.718e-05/0.6472, allocations: 12.25 kB / 0.8796 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000293/0.6475, allocations: 24.38 kB / 0.8796 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.6477, allocations: 42.3 kB / 0.8796 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/0.6477, allocations: 13.53 kB / 0.8796 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00041/0.6481, allocations: 312.3 kB / 0.8799 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.6481, allocations: 0 / 0.8799 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009799/0.6491, allocations: 193.3 kB / 0.8801 GB, free: 12.91 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.002088/0.6512, allocations: 1.541 MB / 0.8816 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002048/0.6532, allocations: 1.158 MB / 0.8827 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6532, allocations: 0 / 0.8827 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001406/0.6546, allocations: 0.8283 MB / 0.8836 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.6558, allocations: 206 kB / 0.8837 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.6661, allocations: 5.876 MB / 0.8895 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007331/0.6668, allocations: 0.9917 MB / 0.8905 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003621/0.6672, allocations: 102.5 kB / 0.8906 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002924/0.6675, allocations: 226.8 kB / 0.8908 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of SimCode: time 7.62e-07/0.6675, allocations: 1.219 kB / 0.8908 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04868/0.7162, allocations: 15.58 MB / 0.906 GB, free: 7.516 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.68, allocations: 23.06 kB / 0.906 GB, free: 7.5 MB / 0.6387 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.757613253954332] Failed to read output from testmodel.py, exit status != 0: 11.834805757040158 11.857536652 11.259509148 Calling exit ...