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.002/0.002, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001487/0.001487, allocations: 215.1 kB / 22.24 MB, free: 5.262 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.781 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.002636/0.002636, allocations: 282.2 kB / 312.7 MB, free: 2.59 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.215/1.215, allocations: 180.6 MB / 0.5369 GB, free: 14.46 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.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",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="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.00294/0.00294, allocations: 103.4 kB / 0.7395 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1727, allocations: 95.38 MB / 0.8326 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008287/0.181, allocations: 5.989 MB / 0.8385 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005351/0.1863, allocations: 3.145 MB / 0.8416 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004226/0.1867, allocations: 47.56 kB / 0.8416 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002526/0.1893, allocations: 0.9284 MB / 0.8425 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001042/0.1903, allocations: 0.4897 MB / 0.843 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.1914, allocations: 0.4885 MB / 0.8435 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001231/0.1927, allocations: 1.104 MB / 0.8445 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007348/0.1934, allocations: 0.5064 MB / 0.845 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000587/0.194, allocations: 466.3 kB / 0.8455 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006264/0.1946, allocations: 474.1 kB / 0.8459 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.644e-05/0.1947, allocations: 60 kB / 0.846 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007852/0.1955, allocations: 450.9 kB / 0.8464 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002785/0.1958, allocations: 283.2 kB / 0.8467 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000348/0.1961, allocations: 342.3 kB / 0.847 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.1974, allocations: 1.183 MB / 0.8482 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1974, allocations: 0 / 0.8482 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1974, allocations: 0 / 0.8482 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.1974, allocations: 4 kB / 0.8482 GB, free: 8.34 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.00162/0.1991, allocations: 1.01 MB / 0.8492 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.1991, allocations: 13.94 kB / 0.8492 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001407/0.1992, allocations: 114.7 kB / 0.8493 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001423/0.2007, allocations: 232.2 kB / 0.8495 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.2017, allocations: 0.5166 MB / 0.85 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.609e-05/0.2017, allocations: 45.67 kB / 0.8501 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.2018, allocations: 76.25 kB / 0.8501 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.2034, allocations: 1.13 MB / 0.8512 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.011e-05/0.2034, allocations: 7.938 kB / 0.8512 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-05/0.2035, allocations: 31.98 kB / 0.8513 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.29e-05/0.2036, allocations: 65.27 kB / 0.8513 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.2047, allocations: 0.6957 MB / 0.852 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004982/0.2097, allocations: 4.514 MB / 0.8564 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007854/0.2104, allocations: 404.3 kB / 0.8568 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008333/0.2113, allocations: 384.6 kB / 0.8572 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.2113, allocations: 11.97 kB / 0.8572 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.2113, allocations: 38.56 kB / 0.8572 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 2.424e-06/0.2113, allocations: 4 kB / 0.8572 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42): time 0.004331/0.2157, allocations: 1.711 MB / 0.8589 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.2157, allocations: 55.41 kB / 0.859 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005356/0.2163, allocations: 470.7 kB / 0.8594 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.117e-05/0.2163, allocations: 41.64 kB / 0.8594 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002988/0.2166, allocations: 400.1 kB / 0.8598 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.2167, allocations: 154.7 kB / 0.86 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.2169, allocations: 110.2 kB / 0.8601 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.2171, allocations: 362.8 kB / 0.8604 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/0.2175, allocations: 245.2 kB / 0.8607 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005404/0.218, allocations: 457 kB / 0.8611 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009983/0.219, allocations: 0.7519 MB / 0.8618 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.219, allocations: 0 / 0.8618 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001895/0.2209, allocations: 1.038 MB / 0.8628 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.2209, allocations: 8 kB / 0.8628 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.2209, allocations: 15.88 kB / 0.8629 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.2219, allocations: 315.8 kB / 0.8632 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.2223, allocations: 95.83 kB / 0.8633 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007594/0.2299, allocations: 7.022 MB / 0.8701 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004113/0.2303, allocations: 28.03 kB / 0.8701 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.35e-05/0.2303, allocations: 27.98 kB / 0.8702 GB, free: 0.668 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.0003421/0.2306, allocations: 249.7 kB / 0.8704 GB, free: 428 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.389e-05/0.2307, allocations: 63.7 kB / 0.8705 GB, free: 364 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/0.2325, allocations: 0.8887 MB / 0.8713 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.2325, allocations: 4 kB / 0.8713 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.2325, allocations: 8.281 kB / 0.8713 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.2325, allocations: 3.984 kB / 0.8713 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002734/0.2352, allocations: 1.582 MB / 0.8729 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2352, allocations: 3.938 kB / 0.8729 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.2354, allocations: 43.91 kB / 0.8729 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009383/0.2363, allocations: 307.3 kB / 0.8732 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.102e-05/0.2364, allocations: 8 kB / 0.8732 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007509/0.2439, allocations: 7.021 MB / 0.8801 GB, free: 5.926 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.2439, allocations: 8 kB / 0.8801 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/0.2456, allocations: 0.9768 MB / 0.8811 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002893/0.2459, allocations: 99.58 kB / 0.8812 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.956e-05/0.246, allocations: 15.98 kB / 0.8812 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002728/0.2463, allocations: 23.92 kB / 0.8812 GB, free: 4.758 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.716e-05/0.2464, allocations: 43.86 kB / 0.8812 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/0.2464, allocations: 12 kB / 0.8812 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003721/0.2468, allocations: 311.1 kB / 0.8815 GB, free: 4.402 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.2468, allocations: 0 / 0.8815 GB, free: 4.402 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008029/0.2476, allocations: 200 kB / 0.8817 GB, free: 4.207 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.002071/0.2497, allocations: 1.529 MB / 0.8832 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001843/0.2515, allocations: 1.163 MB / 0.8844 GB, free: 1.402 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2515, allocations: 0 / 0.8844 GB, free: 1.402 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.2527, allocations: 0.8308 MB / 0.8852 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009299/0.2536, allocations: 204.8 kB / 0.8854 GB, free: 340 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008301/0.2619, allocations: 5.875 MB / 0.8911 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004574/0.2624, allocations: 395 kB / 0.8915 GB, free: 9.719 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002754/0.2627, allocations: 97.19 kB / 0.8916 GB, free: 9.625 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/0.263, allocations: 231.3 kB / 0.8918 GB, free: 9.398 MB / 0.6387 GB Notification: Performance of SimCode: time 6.81e-07/0.263, allocations: 0 / 0.8918 GB, free: 9.398 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05746/0.3204, allocations: 16.99 MB / 0.9084 GB, free: 8.797 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.15, allocations: 9.453 kB / 0.9084 GB, free: 8.789 MB / 0.6544 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: 16.4535705819726] Failed to read output from testmodel.py, exit status != 0: 12.292061225045472 12.317755928 12.115680668 Calling exit ...