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.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.001291/0.001291, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.00143/0.00143, allocations: 218.7 kB / 23.03 MB, free: 4.922 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.002706/0.002706, allocations: 276 kB / 313.5 MB, free: 2.594 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.232/1.232, allocations: 180.6 MB / 0.5377 GB, free: 14.6 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="cs",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="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.002855/0.002855, allocations: 90.14 kB / 0.7403 GB, free: 28.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1642, allocations: 95.39 MB / 0.8334 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03975/0.204, allocations: 31.49 MB / 0.8642 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01843/0.2224, allocations: 10.25 MB / 0.8742 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004668/0.2271, allocations: 190.6 kB / 0.8744 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01028/0.2374, allocations: 3.733 MB / 0.878 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005307/0.2427, allocations: 1.952 MB / 0.8799 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005444/0.2481, allocations: 2.136 MB / 0.882 GB, free: 6.449 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009105/0.2572, allocations: 7.334 MB / 0.8892 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008618/0.2658, allocations: 5.146 MB / 0.8942 GB, free: 9.82 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00505/0.2709, allocations: 3.283 MB / 0.8974 GB, free: 6.527 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0059/0.2768, allocations: 3.684 MB / 0.901 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001917/0.2787, allocations: 0.6484 MB / 0.9016 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004123/0.2828, allocations: 1.661 MB / 0.9032 GB, free: 0.5195 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003802/0.2866, allocations: 2.615 MB / 0.9058 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004761/0.2914, allocations: 2.342 MB / 0.9081 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01315/0.3045, allocations: 10.18 MB / 0.918 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.13e-05/0.3046, allocations: 4 kB / 0.918 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3046, allocations: 0 / 0.918 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.00038/0.3049, allocations: 0 / 0.918 GB, free: 1.328 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.01747/0.3224, allocations: 5.045 MB / 0.923 GB, free: 12.22 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.3225, allocations: 9.938 kB / 0.923 GB, free: 12.21 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001509/0.3226, allocations: 125.5 kB / 0.9231 GB, free: 12.09 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001789/0.3244, allocations: 0.6859 MB / 0.9238 GB, free: 11.39 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00595/0.3303, allocations: 0.989 MB / 0.9247 GB, free: 10.4 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006861/0.3372, allocations: 2.995 MB / 0.9277 GB, free: 7.332 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003392/0.3375, allocations: 349.7 kB / 0.928 GB, free: 6.988 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001607/0.3392, allocations: 460.3 kB / 0.9284 GB, free: 6.539 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01676/0.3559, allocations: 7.976 MB / 0.9362 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001717/0.3561, allocations: 31.77 kB / 0.9362 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006605/0.3567, allocations: 204 kB / 0.9364 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003808/0.3571, allocations: 313 kB / 0.9367 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01172/0.3689, allocations: 5.706 MB / 0.9423 GB, free: 7.879 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03515/0.404, allocations: 22.68 MB / 0.9645 GB, free: 0.543 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002727/0.4067, allocations: 1.545 MB / 0.966 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001615/0.4083, allocations: 1.116 MB / 0.9671 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.695e-05/0.4084, allocations: 21.3 kB / 0.9671 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.4085, allocations: 55.75 kB / 0.9671 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=133): time 3.396e-06/0.4085, allocations: 0 / 0.9671 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of matching and sorting (n=136): time 0.01386/0.4223, allocations: 6.207 MB / 0.9732 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.4224, allocations: 64.72 kB / 0.9733 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/0.4244, allocations: 1.484 MB / 0.9747 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.405e-05/0.4245, allocations: 45.7 kB / 0.9747 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001525/0.426, allocations: 2.077 MB / 0.9768 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004816/0.4265, allocations: 0.5035 MB / 0.9773 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000547/0.427, allocations: 347.4 kB / 0.9776 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.4271, allocations: 305.1 kB / 0.9779 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/0.4285, allocations: 0.9135 MB / 0.9788 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.34/0.7685, allocations: 1.59 MB / 0.9803 GB, free: 131.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003299/0.7718, allocations: 2.736 MB / 0.983 GB, free: 130.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.616e-05/0.7718, allocations: 6.375 kB / 0.983 GB, free: 130.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005872/0.7777, allocations: 3.513 MB / 0.9864 GB, free: 129.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/0.7777, allocations: 14.28 kB / 0.9865 GB, free: 129.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.799e-05/0.7777, allocations: 22.97 kB / 0.9865 GB, free: 129.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002467/0.7802, allocations: 0.901 MB / 0.9874 GB, free: 129.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.7813, allocations: 351.1 kB / 0.9877 GB, free: 129.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01711/0.7984, allocations: 21.73 MB / 1.009 GB, free: 111.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.7999, allocations: 107.2 kB / 1.009 GB, free: 111.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/0.8, allocations: 87.33 kB / 1.009 GB, free: 111.2 MB / 0.7169 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.00234/0.8023, allocations: 1.611 MB / 1.011 GB, free: 110.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003916/0.8027, allocations: 213.1 kB / 1.011 GB, free: 110.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004686/0.8074, allocations: 2.963 MB / 1.014 GB, free: 109.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.8074, allocations: 12.69 kB / 1.014 GB, free: 109.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/0.8074, allocations: 9.656 kB / 1.014 GB, free: 109.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.8075, allocations: 10.83 kB / 1.014 GB, free: 109.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009165/0.8166, allocations: 6.729 MB / 1.02 GB, free: 106.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.8166, allocations: 3.812 kB / 1.02 GB, free: 106.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007034/0.8173, allocations: 177.3 kB / 1.021 GB, free: 106.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002071/0.8194, allocations: 0.8205 MB / 1.021 GB, free: 106.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.482e-05/0.8195, allocations: 26.88 kB / 1.021 GB, free: 106.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01292/0.8324, allocations: 20.6 MB / 1.041 GB, free: 86.96 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.8324, allocations: 4 kB / 1.041 GB, free: 86.96 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004115/0.8365, allocations: 3.018 MB / 1.044 GB, free: 83.85 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007927/0.8373, allocations: 388.6 kB / 1.045 GB, free: 83.47 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003636/0.8377, allocations: 36.05 kB / 1.045 GB, free: 83.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008544/0.8385, allocations: 63.92 kB / 1.045 GB, free: 83.37 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002817/0.8388, allocations: 136.6 kB / 1.045 GB, free: 83.24 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.659e-05/0.8389, allocations: 40 kB / 1.045 GB, free: 83.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009727/0.8399, allocations: 0.977 MB / 1.046 GB, free: 82.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8399, allocations: 0 / 1.046 GB, free: 82.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002438/0.8423, allocations: 0.7865 MB / 1.047 GB, free: 81.41 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 (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.004001/0.8463, allocations: 3.602 MB / 1.05 GB, free: 77.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004547/0.8509, allocations: 3.915 MB / 1.054 GB, free: 73.63 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.8509, allocations: 4 kB / 1.054 GB, free: 73.63 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002712/0.8536, allocations: 2.671 MB / 1.057 GB, free: 70.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002743/0.8563, allocations: 0.7329 MB / 1.057 GB, free: 70.12 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02791/0.8842, allocations: 22.52 MB / 1.079 GB, free: 46.61 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002335/0.8866, allocations: 2.569 MB / 1.082 GB, free: 44 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001047/0.8876, allocations: 457.9 kB / 1.082 GB, free: 43.55 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00123/0.8888, allocations: 1.534 MB / 1.084 GB, free: 42.02 MB / 0.7169 GB Notification: Performance of SimCode: time 1.363e-06/0.8888, allocations: 0 / 1.084 GB, free: 42.02 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2091/1.098, allocations: 66.04 MB / 1.148 GB, free: 9.012 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.27/16.36, allocations: 11.56 kB / 1.148 GB, free: 9.004 MB / 0.7481 GB " [Timeout remaining time 643] (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: 21.08507705607917] Failed to read output from testmodel.py, exit status != 0: 16.573339567985386 16.598164185999998 16.290249934 Calling exit ...