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.001374/0.001374, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001494/0.001494, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.002689/0.002689, allocations: 294.3 kB / 313.5 MB, free: 2.629 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.222/1.222, allocations: 180.6 MB / 0.5377 GB, free: 14.55 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="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.002951/0.002951, allocations: 98.36 kB / 0.7403 GB, free: 28.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1715, allocations: 95.39 MB / 0.8334 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008523/0.18, allocations: 5.97 MB / 0.8392 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005725/0.1858, allocations: 3.145 MB / 0.8423 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004972/0.1863, allocations: 47.56 kB / 0.8424 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002537/0.1888, allocations: 0.9324 MB / 0.8433 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001207/0.19, allocations: 493.5 kB / 0.8437 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.1912, allocations: 0.5008 MB / 0.8442 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00135/0.1926, allocations: 1.1 MB / 0.8453 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008091/0.1934, allocations: 0.5142 MB / 0.8458 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006551/0.194, allocations: 462.3 kB / 0.8462 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006558/0.1947, allocations: 0.4903 MB / 0.8467 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.123e-05/0.1948, allocations: 56 kB / 0.8468 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007732/0.1956, allocations: 447 kB / 0.8472 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002973/0.1959, allocations: 299 kB / 0.8475 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003802/0.1962, allocations: 334.4 kB / 0.8478 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.1976, allocations: 1.195 MB / 0.849 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1976, allocations: 0 / 0.849 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1976, allocations: 4 kB / 0.849 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.1977, allocations: 4 kB / 0.849 GB, free: 8.363 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.001606/0.1993, allocations: 0.9947 MB / 0.85 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1993, allocations: 13.34 kB / 0.85 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.543e-05/0.1993, allocations: 17.5 kB / 0.85 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000134/0.1995, allocations: 122.7 kB / 0.8501 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/0.201, allocations: 224.2 kB / 0.8503 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009515/0.2019, allocations: 0.5282 MB / 0.8508 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.849e-05/0.202, allocations: 49.67 kB / 0.8509 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.2021, allocations: 64.33 kB / 0.8509 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.2037, allocations: 1.13 MB / 0.852 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/0.2037, allocations: 11.92 kB / 0.8521 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.129e-05/0.2038, allocations: 27.98 kB / 0.8521 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.45e-05/0.2039, allocations: 73.28 kB / 0.8521 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.205, allocations: 0.6879 MB / 0.8528 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004827/0.2098, allocations: 4.522 MB / 0.8572 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000769/0.2106, allocations: 406.3 kB / 0.8576 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000776/0.2113, allocations: 384.6 kB / 0.858 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.2114, allocations: 8 kB / 0.858 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.2114, allocations: 34.56 kB / 0.858 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 2.264e-06/0.2114, allocations: 0 / 0.858 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42): time 0.004269/0.2157, allocations: 1.714 MB / 0.8597 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.2157, allocations: 55.41 kB / 0.8598 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005332/0.2162, allocations: 470.8 kB / 0.8602 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/0.2163, allocations: 29.7 kB / 0.8602 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/0.2166, allocations: 400 kB / 0.8606 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.2167, allocations: 158.7 kB / 0.8608 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.2169, allocations: 114.2 kB / 0.8609 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.2171, allocations: 366.8 kB / 0.8612 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/0.2174, allocations: 237.2 kB / 0.8615 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005393/0.218, allocations: 457 kB / 0.8619 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009788/0.219, allocations: 0.744 MB / 0.8626 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.219, allocations: 4 kB / 0.8626 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00201/0.221, allocations: 1.034 MB / 0.8636 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.221, allocations: 11.94 kB / 0.8636 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.221, allocations: 11.94 kB / 0.8637 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.2221, allocations: 312 kB / 0.8639 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/0.2224, allocations: 99.81 kB / 0.864 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007452/0.2298, allocations: 7.026 MB / 0.8709 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004291/0.2303, allocations: 35.95 kB / 0.8709 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.163e-05/0.2303, allocations: 27.94 kB / 0.871 GB, free: 0.6836 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.0003388/0.2307, allocations: 246.2 kB / 0.8712 GB, free: 444 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.65e-05/0.2308, allocations: 67.56 kB / 0.8713 GB, free: 376 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/0.2325, allocations: 0.873 MB / 0.8721 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.2325, allocations: 12 kB / 0.8721 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.2325, allocations: 288 / 0.8721 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.2325, allocations: 7.984 kB / 0.8721 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00262/0.2351, allocations: 1.582 MB / 0.8737 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.2351, allocations: 3.938 kB / 0.8737 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.2353, allocations: 43.91 kB / 0.8737 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009789/0.2363, allocations: 311.3 kB / 0.874 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-05/0.2363, allocations: 7.984 kB / 0.874 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007219/0.2435, allocations: 7.02 MB / 0.8809 GB, free: 5.945 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.2435, allocations: 4 kB / 0.8809 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.2452, allocations: 0.9806 MB / 0.8819 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002236/0.2454, allocations: 99.58 kB / 0.8819 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.853e-05/0.2455, allocations: 12 kB / 0.882 GB, free: 4.805 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000266/0.2458, allocations: 27.84 kB / 0.882 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.2459, allocations: 47.86 kB / 0.882 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.2459, allocations: 8 kB / 0.882 GB, free: 4.723 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003497/0.2463, allocations: 311.2 kB / 0.8823 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.2463, allocations: 0 / 0.8823 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007306/0.247, allocations: 196 kB / 0.8825 GB, free: 4.23 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.001964/0.249, allocations: 1.537 MB / 0.884 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001812/0.2508, allocations: 1.151 MB / 0.8851 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2508, allocations: 0 / 0.8851 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.252, allocations: 0.8307 MB / 0.886 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009331/0.2529, allocations: 209.6 kB / 0.8862 GB, free: 368 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008163/0.2611, allocations: 5.869 MB / 0.8919 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/0.2615, allocations: 403 kB / 0.8923 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002916/0.2618, allocations: 101.2 kB / 0.8924 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002904/0.2621, allocations: 227.4 kB / 0.8926 GB, free: 9.426 MB / 0.6387 GB Notification: Performance of SimCode: time 1.052e-06/0.2621, allocations: 0 / 0.8926 GB, free: 9.426 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05082/0.3129, allocations: 16.82 MB / 0.909 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/12.76, allocations: 18.47 kB / 0.909 GB, free: 9 MB / 0.6544 GB " [Timeout remaining time 647] (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: 17.031579192029312] Failed to read output from testmodel.py, exit status != 0: 12.931271034060046 12.946815872 12.746073603 Calling exit ...