Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001345/0.001345, 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.00162/0.00162, allocations: 214.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.434/1.434, allocations: 230.6 MB / 256 MB, free: 7.805 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.002606/0.002606, allocations: 281.3 kB / 312.7 MB, free: 2.617 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.223/1.223, allocations: 180.6 MB / 0.5369 GB, free: 14.58 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.ACLineMedium,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.004327/0.004327, allocations: 101.4 kB / 0.7395 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2174, allocations: 95.39 MB / 0.8326 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01931/0.2367, allocations: 13.93 MB / 0.8463 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0166/0.2533, allocations: 9.972 MB / 0.856 GB, free: 400 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001319/0.2547, allocations: 79.31 kB / 0.8561 GB, free: 320 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004871/0.2595, allocations: 1.683 MB / 0.8577 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005433/0.265, allocations: 1.856 MB / 0.8595 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002269/0.2672, allocations: 0.7542 MB / 0.8603 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004276/0.2715, allocations: 2.774 MB / 0.863 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002161/0.2737, allocations: 1.188 MB / 0.8641 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002794/0.2765, allocations: 1.625 MB / 0.8657 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002215/0.2787, allocations: 1.093 MB / 0.8668 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005552/0.2792, allocations: 160 kB / 0.8669 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/0.2811, allocations: 0.7214 MB / 0.8676 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008986/0.282, allocations: 0.6113 MB / 0.8682 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001512/0.2835, allocations: 0.7853 MB / 0.869 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004236/0.2878, allocations: 2.794 MB / 0.8717 GB, free: 196 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2878, allocations: 0 / 0.8717 GB, free: 196 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2878, allocations: 0 / 0.8717 GB, free: 196 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.765e-05/0.2879, allocations: 0 / 0.8717 GB, free: 196 kB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004765/0.2926, allocations: 2.147 MB / 0.8738 GB, free: 14 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.2927, allocations: 8.75 kB / 0.8738 GB, free: 14 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002557/0.2929, allocations: 194.4 kB / 0.874 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01194/0.3049, allocations: 2.121 MB / 0.8761 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003566/0.3084, allocations: 1.232 MB / 0.8773 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.3085, allocations: 82.69 kB / 0.8774 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005379/0.3091, allocations: 119.9 kB / 0.8775 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006316/0.3154, allocations: 3.073 MB / 0.8805 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.344e-05/0.3154, allocations: 7.953 kB / 0.8805 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001657/0.3156, allocations: 59.97 kB / 0.8806 GB, free: 6.805 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000693/0.3163, allocations: 194.1 kB / 0.8807 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007863/0.3242, allocations: 2.795 MB / 0.8835 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01542/0.3396, allocations: 8.339 MB / 0.8916 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006798/0.3464, allocations: 2.183 MB / 0.8937 GB, free: 9.102 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003253/0.3496, allocations: 1.209 MB / 0.8949 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.664e-05/0.3497, allocations: 13 kB / 0.8949 GB, free: 7.875 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/0.3498, allocations: 43.56 kB / 0.895 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=89): time 3.216e-06/0.3498, allocations: 0 / 0.895 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of matching and sorting (n=153): time 0.06238/0.4121, allocations: 16 MB / 0.9106 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/0.4122, allocations: 64.72 kB / 0.9107 GB, free: 7.707 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/0.414, allocations: 1.191 MB / 0.9118 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002117/0.4142, allocations: 49.7 kB / 0.9119 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006702/0.4149, allocations: 0.7568 MB / 0.9126 GB, free: 5.688 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006168/0.4155, allocations: 0.5344 MB / 0.9131 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006224/0.4161, allocations: 291.5 kB / 0.9134 GB, free: 4.859 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.4163, allocations: 305.1 kB / 0.9137 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003795/0.42, allocations: 1.51 MB / 0.9152 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004/0.424, allocations: 1.78 MB / 0.9169 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008108/0.4322, allocations: 3.366 MB / 0.9202 GB, free: 13.71 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.4322, allocations: 0 / 0.9202 GB, free: 13.71 MB / 0.67 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01462/0.4468, allocations: 5.215 MB / 0.9253 GB, free: 8.453 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/0.4468, allocations: 8 kB / 0.9253 GB, free: 8.445 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.4468, allocations: 4.844 kB / 0.9253 GB, free: 8.441 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007137/0.454, allocations: 1.876 MB / 0.9271 GB, free: 6.543 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002067/0.456, allocations: 419.3 kB / 0.9275 GB, free: 6.133 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03232/0.4884, allocations: 23.07 MB / 0.9501 GB, free: 14.15 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0028/0.4912, allocations: 307.5 kB / 0.9504 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003048/0.4915, allocations: 67.91 kB / 0.9504 GB, free: 13.79 MB / 0.7012 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00109/0.4925, allocations: 473.4 kB / 0.9509 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005081/0.4931, allocations: 182.8 kB / 0.9511 GB, free: 13.13 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01463/0.5077, allocations: 5.246 MB / 0.9562 GB, free: 7.84 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/0.5077, allocations: 12 kB / 0.9562 GB, free: 7.828 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.842e-05/0.5078, allocations: 20 kB / 0.9562 GB, free: 7.809 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.987e-05/0.5078, allocations: 11.97 kB / 0.9562 GB, free: 7.797 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0181/0.5259, allocations: 6.977 MB / 0.963 GB, free: 0.707 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/0.5259, allocations: 0 / 0.963 GB, free: 0.707 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001908/0.5278, allocations: 355.3 kB / 0.9634 GB, free: 368 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006332/0.5341, allocations: 1.7 MB / 0.965 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001875/0.5343, allocations: 43.91 kB / 0.9651 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3735/0.9078, allocations: 22.23 MB / 0.9868 GB, free: 130.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.9078, allocations: 2.719 kB / 0.9868 GB, free: 130.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01191/0.9197, allocations: 4.823 MB / 0.9915 GB, free: 130 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/0.921, allocations: 426 kB / 0.9919 GB, free: 129.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002685/0.9212, allocations: 30.67 kB / 0.9919 GB, free: 129.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002203/0.9234, allocations: 319.6 kB / 0.9922 GB, free: 129.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005266/0.924, allocations: 162.1 kB / 0.9924 GB, free: 129.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001541/0.9241, allocations: 55.3 kB / 0.9924 GB, free: 129.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001097/0.9252, allocations: 0.7895 MB / 0.9932 GB, free: 129.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9252, allocations: 0 / 0.9932 GB, free: 129.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002147/0.9274, allocations: 0.6557 MB / 0.9939 GB, free: 129.4 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01233/0.9397, allocations: 5.424 MB / 0.9992 GB, free: 127.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01019/0.9499, allocations: 4.912 MB / 1.004 GB, free: 125.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.485e-06/0.9499, allocations: 0 / 1.004 GB, free: 125.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.006043/0.9559, allocations: 3.275 MB / 1.007 GB, free: 123.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002238/0.9582, allocations: 0.5679 MB / 1.008 GB, free: 123.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03816/0.9963, allocations: 21.77 MB / 1.029 GB, free: 106.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008576/0.9972, allocations: 0.9879 MB / 1.03 GB, free: 105.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001302/0.9985, allocations: 386.5 kB / 1.03 GB, free: 104.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006875/0.9992, allocations: 0.6515 MB / 1.031 GB, free: 104 MB / 0.7169 GB Notification: Performance of SimCode: time 9.21e-07/0.9992, allocations: 0 / 1.031 GB, free: 104 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1073/1.107, allocations: 63.89 MB / 1.093 GB, free: 41.08 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/14.81, allocations: 3.938 kB / 1.093 GB, free: 41.08 MB / 0.7169 GB " [Timeout remaining time 645] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.08276533521712] Failed to read output from testmodel.py, exit status != 0: 14.959758608136326 14.980103355 14.688343006 Calling exit ...