Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 112.7 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00237/0.00237, allocations: 296.9 kB / 303 MB, free: 9.488 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.139/1.139, allocations: 180.9 MB / 0.5261 GB, free: 14.75 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002673/0.002673, allocations: 100.4 kB / 0.7248 GB, free: 40.05 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1507, allocations: 94.16 MB / 0.8167 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04059/0.1913, allocations: 33.16 MB / 0.8491 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01759/0.2089, allocations: 10.38 MB / 0.8593 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002544/0.2115, allocations: 147.2 kB / 0.8594 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00957/0.221, allocations: 3.79 MB / 0.8631 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0058/0.2268, allocations: 1.944 MB / 0.865 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006418/0.2332, allocations: 2.146 MB / 0.8671 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.009464/0.2427, allocations: 7.325 MB / 0.8742 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01037/0.2531, allocations: 7.046 MB / 0.8811 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005135/0.2582, allocations: 3.221 MB / 0.8843 GB, free: 84 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005659/0.2639, allocations: 3.68 MB / 0.8879 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001447/0.2653, allocations: 0.6445 MB / 0.8885 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003424/0.2687, allocations: 1.802 MB / 0.8903 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00259/0.2713, allocations: 2.619 MB / 0.8928 GB, free: 7.316 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003069/0.2744, allocations: 2.894 MB / 0.8956 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01037/0.2848, allocations: 10.14 MB / 0.9055 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2848, allocations: 0 / 0.9055 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2848, allocations: 0 / 0.9055 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.00018/0.285, allocations: 0 / 0.9055 GB, free: 10.24 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.008631/0.2936, allocations: 5.124 MB / 0.9105 GB, free: 5.039 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.2936, allocations: 12.03 kB / 0.9106 GB, free: 5.027 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009609/0.2946, allocations: 0.6898 MB / 0.9112 GB, free: 4.328 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004805/0.2994, allocations: 0.9696 MB / 0.9122 GB, free: 3.355 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006622/0.306, allocations: 3.059 MB / 0.9152 GB, free: 244 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002782/0.3063, allocations: 353.8 kB / 0.9155 GB, free: 15.89 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000741/0.307, allocations: 460.2 kB / 0.9159 GB, free: 15.44 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01205/0.3191, allocations: 7.671 MB / 0.9234 GB, free: 7.418 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001099/0.3192, allocations: 23.77 kB / 0.9235 GB, free: 7.395 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004316/0.3196, allocations: 200 kB / 0.9236 GB, free: 7.199 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003315/0.32, allocations: 316.9 kB / 0.9239 GB, free: 6.887 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008821/0.3288, allocations: 5.706 MB / 0.9295 GB, free: 1.164 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03663/0.3654, allocations: 34.89 MB / 0.9636 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002838/0.3682, allocations: 2.015 MB / 0.9656 GB, free: 8.941 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001558/0.3698, allocations: 1.128 MB / 0.9667 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.786e-05/0.3699, allocations: 13.31 kB / 0.9667 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.3699, allocations: 43.88 kB / 0.9667 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=133): time 3.156e-06/0.3699, allocations: 0 / 0.9667 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=136): time 0.01319/0.3831, allocations: 7.118 MB / 0.9737 GB, free: 376 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.3832, allocations: 72.66 kB / 0.9737 GB, free: 292 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001969/0.3851, allocations: 1.484 MB / 0.9752 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.844e-05/0.3852, allocations: 45.7 kB / 0.9752 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001433/0.3866, allocations: 2.073 MB / 0.9773 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004173/0.3871, allocations: 0.4996 MB / 0.9777 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004948/0.3876, allocations: 355.3 kB / 0.9781 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.3877, allocations: 305.1 kB / 0.9784 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001322/0.389, allocations: 0.9135 MB / 0.9793 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001845/0.3908, allocations: 1.589 MB / 0.9808 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003417/0.3943, allocations: 2.741 MB / 0.9835 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/0.3943, allocations: 8 kB / 0.9835 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005908/0.4002, allocations: 3.504 MB / 0.9869 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.4002, allocations: 12 kB / 0.9869 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.042e-05/0.4002, allocations: 27.94 kB / 0.987 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002448/0.4027, allocations: 0.9006 MB / 0.9878 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.4037, allocations: 351.4 kB / 0.9882 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3435/0.7472, allocations: 23.11 MB / 1.011 GB, free: 163.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.7486, allocations: 107.1 kB / 1.011 GB, free: 163.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/0.7487, allocations: 85.88 kB / 1.011 GB, free: 163.3 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002175/0.7509, allocations: 1.606 MB / 1.012 GB, free: 163.1 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002723/0.7511, allocations: 216.2 kB / 1.013 GB, free: 163.1 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004808/0.7559, allocations: 2.961 MB / 1.016 GB, free: 161.9 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.756, allocations: 15.78 kB / 1.016 GB, free: 161.9 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/0.756, allocations: 9.156 kB / 1.016 GB, free: 161.9 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.756, allocations: 7.219 kB / 1.016 GB, free: 161.9 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01076/0.7667, allocations: 7.321 MB / 1.023 GB, free: 158.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.7667, allocations: 3.906 kB / 1.023 GB, free: 158.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006399/0.7674, allocations: 179.5 kB / 1.023 GB, free: 158.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001867/0.7693, allocations: 0.8258 MB / 1.024 GB, free: 158.4 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.375e-05/0.7693, allocations: 23.88 kB / 1.024 GB, free: 158.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01307/0.7824, allocations: 21.97 MB / 1.045 GB, free: 139.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.7824, allocations: 7.812 kB / 1.045 GB, free: 139.5 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003936/0.7863, allocations: 3.006 MB / 1.048 GB, free: 138.1 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008293/0.7872, allocations: 467.9 kB / 1.049 GB, free: 138 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/0.7874, allocations: 35.67 kB / 1.049 GB, free: 137.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006828/0.788, allocations: 78.06 kB / 1.049 GB, free: 137.9 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000244/0.7883, allocations: 120.3 kB / 1.049 GB, free: 137.9 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-05/0.7884, allocations: 43.03 kB / 1.049 GB, free: 137.9 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009566/0.7893, allocations: 0.9787 MB / 1.05 GB, free: 137.5 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9e-08/0.7893, allocations: 0 / 1.05 GB, free: 137.5 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002172/0.7915, allocations: 0.7834 MB / 1.051 GB, free: 137.4 MB / 0.7481 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003773/0.7953, allocations: 3.609 MB / 1.054 GB, free: 135.1 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004084/0.7993, allocations: 3.913 MB / 1.058 GB, free: 131.1 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.7993, allocations: 0 / 1.058 GB, free: 131.1 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00271/0.8021, allocations: 2.682 MB / 1.061 GB, free: 128.2 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002465/0.8045, allocations: 0.7207 MB / 1.061 GB, free: 127.6 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02448/0.829, allocations: 22.41 MB / 1.083 GB, free: 104.2 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002254/0.8312, allocations: 3.105 MB / 1.086 GB, free: 101.1 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001088/0.8323, allocations: 456.2 kB / 1.087 GB, free: 100.6 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/0.8335, allocations: 1.534 MB / 1.088 GB, free: 99.09 MB / 0.7481 GB Notification: Performance of SimCode: time 8.01e-07/0.8335, allocations: 0 / 1.088 GB, free: 99.09 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.109/0.9424, allocations: 61.85 MB / 1.149 GB, free: 37.93 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/13.31, allocations: 18.88 kB / 1.149 GB, free: 37.92 MB / 0.7481 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.41110583394766] Failed to read output from testmodel.py, exit status != 0: 13.419268638826907 13.42750445 13.140768019 Calling exit ...