Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.001664/0.001664, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001436/0.001436, allocations: 217.3 kB / 22.25 MB, free: 5.121 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.428/1.428, allocations: 230.6 MB / 256 MB, free: 7.984 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.002481/0.002481, allocations: 291.5 kB / 312.7 MB, free: 2.793 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.216/1.216, allocations: 180.6 MB / 0.5369 GB, free: 12.91 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,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.002911/0.002911, allocations: 110.6 kB / 0.7396 GB, free: 28.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.182, allocations: 95.39 MB / 0.8328 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03827/0.2203, allocations: 32.13 MB / 0.8641 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0226/0.2429, allocations: 14.01 MB / 0.8778 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003264/0.2461, allocations: 190.5 kB / 0.878 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.009107/0.2553, allocations: 3.336 MB / 0.8813 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008276/0.2635, allocations: 2.788 MB / 0.884 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005468/0.269, allocations: 2.065 MB / 0.886 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01038/0.2794, allocations: 7.641 MB / 0.8935 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007089/0.2865, allocations: 4.646 MB / 0.898 GB, free: 5.508 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006742/0.2932, allocations: 3.513 MB / 0.9014 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006266/0.2995, allocations: 3.57 MB / 0.9049 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001387/0.3009, allocations: 0.5977 MB / 0.9055 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0032/0.3041, allocations: 1.525 MB / 0.907 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002545/0.3066, allocations: 2.424 MB / 0.9093 GB, free: 9.848 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003958/0.3106, allocations: 2.886 MB / 0.9122 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01073/0.3213, allocations: 9.488 MB / 0.9214 GB, free: 13.43 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3213, allocations: 3.984 kB / 0.9214 GB, free: 13.43 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3213, allocations: 3.938 kB / 0.9214 GB, free: 13.42 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002116/0.3215, allocations: 0 / 0.9214 GB, free: 13.42 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01054/0.3321, allocations: 5.191 MB / 0.9265 GB, free: 8.164 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.3321, allocations: 9.344 kB / 0.9265 GB, free: 8.156 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008861/0.333, allocations: 0.6125 MB / 0.9271 GB, free: 7.531 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005522/0.3385, allocations: 1.02 MB / 0.9281 GB, free: 6.508 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007224/0.3457, allocations: 3.021 MB / 0.9311 GB, free: 3.395 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002844/0.346, allocations: 320.8 kB / 0.9314 GB, free: 3.078 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001076/0.3471, allocations: 427.8 kB / 0.9318 GB, free: 2.66 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01257/0.3597, allocations: 6.784 MB / 0.9384 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001204/0.3598, allocations: 23.83 kB / 0.9384 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004495/0.3602, allocations: 187.9 kB / 0.9386 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008459/0.3611, allocations: 372 kB / 0.939 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00926/0.3703, allocations: 5.11 MB / 0.944 GB, free: 5.879 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03644/0.4068, allocations: 30.27 MB / 0.9735 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/0.4089, allocations: 1.316 MB / 0.9748 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001767/0.4106, allocations: 1.242 MB / 0.976 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.975e-05/0.4107, allocations: 17.25 kB / 0.976 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/0.4108, allocations: 51.88 kB / 0.9761 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=130): time 2.986e-06/0.4108, allocations: 0 / 0.9761 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=199): time 0.4324/0.8432, allocations: 22.85 MB / 0.9984 GB, free: 147.2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.8433, allocations: 73.56 kB / 0.9985 GB, free: 147.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003188/0.8464, allocations: 2.061 MB / 1 GB, free: 146.4 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002987/0.8467, allocations: 62.61 kB / 1.001 GB, free: 146.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001221/0.848, allocations: 2.064 MB / 1.003 GB, free: 145 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005784/0.8485, allocations: 0.7149 MB / 1.003 GB, free: 144.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006101/0.8491, allocations: 410.2 kB / 1.004 GB, free: 144.3 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.714e-05/0.8492, allocations: 302.7 kB / 1.004 GB, free: 144 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001774/0.851, allocations: 1.433 MB / 1.005 GB, free: 143.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002383/0.8533, allocations: 2.014 MB / 1.007 GB, free: 142.2 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00503/0.8584, allocations: 3.69 MB / 1.011 GB, free: 140.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.665e-05/0.8584, allocations: 5.031 kB / 1.011 GB, free: 140.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.0105/0.8689, allocations: 5.607 MB / 1.016 GB, free: 137.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/0.8689, allocations: 15.44 kB / 1.016 GB, free: 137.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.662e-05/0.869, allocations: 17.75 kB / 1.016 GB, free: 137.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005981/0.8749, allocations: 2.088 MB / 1.018 GB, free: 137.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.8764, allocations: 381.2 kB / 1.019 GB, free: 137.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02784/0.9042, allocations: 36.61 MB / 1.055 GB, free: 106.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002327/0.9065, allocations: 128.7 kB / 1.055 GB, free: 106.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/0.9067, allocations: 88.92 kB / 1.055 GB, free: 106.4 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (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.00203/0.9087, allocations: 1.506 MB / 1.056 GB, free: 105.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005012/0.9092, allocations: 302.5 kB / 1.057 GB, free: 105.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008327/0.9176, allocations: 5.141 MB / 1.062 GB, free: 100.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/0.9176, allocations: 20 kB / 1.062 GB, free: 100.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.166e-05/0.9177, allocations: 27.98 kB / 1.062 GB, free: 100 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-05/0.9177, allocations: 7.969 kB / 1.062 GB, free: 100 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01566/0.9333, allocations: 9.582 MB / 1.071 GB, free: 90.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/0.9333, allocations: 4 kB / 1.071 GB, free: 90.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007655/0.9341, allocations: 219.4 kB / 1.071 GB, free: 90.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004972/0.9391, allocations: 1.841 MB / 1.073 GB, free: 88.18 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000168/0.9393, allocations: 43.94 kB / 1.073 GB, free: 88.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02632/0.9656, allocations: 35.63 MB / 1.108 GB, free: 50.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.9656, allocations: 12.06 kB / 1.108 GB, free: 50.48 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007583/0.9732, allocations: 4.853 MB / 1.113 GB, free: 45.47 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001595/0.9748, allocations: 0.555 MB / 1.113 GB, free: 44.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003638/0.9751, allocations: 36 kB / 1.113 GB, free: 44.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/0.9764, allocations: 127.8 kB / 1.113 GB, free: 44.76 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004951/0.9769, allocations: 213.3 kB / 1.113 GB, free: 44.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.977, allocations: 56 kB / 1.114 GB, free: 44.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001489/0.9785, allocations: 1.378 MB / 1.115 GB, free: 43.11 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.9785, allocations: 0 / 1.115 GB, free: 43.11 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003129/0.9816, allocations: 1.047 MB / 1.116 GB, free: 42.06 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,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.007111/0.9887, allocations: 5.47 MB / 1.121 GB, free: 36.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007676/0.9964, allocations: 6.009 MB / 1.127 GB, free: 30.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.9964, allocations: 4 kB / 1.127 GB, free: 30.19 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005141/1.002, allocations: 4.283 MB / 1.131 GB, free: 25.68 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004041/1.006, allocations: 1 MB / 1.132 GB, free: 24.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04586/1.051, allocations: 30.75 MB / 1.162 GB, free: 8.984 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00419/1.056, allocations: 3.128 MB / 1.165 GB, free: 5.82 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002082/1.058, allocations: 0.5198 MB / 1.166 GB, free: 5.297 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002345/1.06, allocations: 1.675 MB / 1.167 GB, free: 3.621 MB / 0.7481 GB Notification: Performance of SimCode: time 1.673e-06/1.06, allocations: 7.938 kB / 1.167 GB, free: 3.613 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2102/1.27, allocations: 91 MB / 1.256 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.48/17.75, allocations: 7.875 kB / 1.256 GB, free: 9.738 MB / 0.8419 GB " [Timeout remaining time 642] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.078653960998054] Failed to read output from testmodel.py, exit status != 0: 17.90717238200159 17.925317086 17.600424364 Calling exit ...