Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.001508/0.001508, allocations: 108.7 kB / 16.46 MB, free: 6.453 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.001419/0.001419, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.338/1.338, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.002389/0.002389, allocations: 278 kB / 309.1 MB, free: 3.977 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.153/1.153, allocations: 180.9 MB / 0.5333 GB, free: 13.64 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.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_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",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.002827/0.002827, allocations: 102.9 kB / 0.7343 GB, free: 28.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1502, allocations: 95.35 MB / 0.8274 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02457/0.1748, allocations: 20.59 MB / 0.8475 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01069/0.1855, allocations: 6.558 MB / 0.8539 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001345/0.1868, allocations: 115.2 kB / 0.854 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.005424/0.1923, allocations: 2.267 MB / 0.8562 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002995/0.1953, allocations: 1.24 MB / 0.8574 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002947/0.1982, allocations: 1.282 MB / 0.8587 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005587/0.2038, allocations: 4.85 MB / 0.8634 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005132/0.2089, allocations: 4.237 MB / 0.8675 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002944/0.2119, allocations: 2.15 MB / 0.8696 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003062/0.2149, allocations: 2.473 MB / 0.8721 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0005576/0.2155, allocations: 428 kB / 0.8725 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00176/0.2172, allocations: 1.026 MB / 0.8735 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00162/0.2189, allocations: 1.711 MB / 0.8751 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001896/0.2208, allocations: 1.91 MB / 0.877 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006108/0.2269, allocations: 6.534 MB / 0.8834 GB, free: 384 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2269, allocations: 4 kB / 0.8834 GB, free: 380 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2269, allocations: 0 / 0.8834 GB, free: 380 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.509e-05/0.2269, allocations: 0 / 0.8834 GB, free: 380 kB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.006002/0.2329, allocations: 3.545 MB / 0.8869 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.233, allocations: 8.031 kB / 0.8869 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005725/0.2336, allocations: 454.6 kB / 0.8873 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003156/0.2367, allocations: 0.6584 MB / 0.8879 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003255/0.24, allocations: 2.042 MB / 0.8899 GB, free: 9.531 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/0.2401, allocations: 226.3 kB / 0.8901 GB, free: 9.309 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004672/0.2406, allocations: 300 kB / 0.8904 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007174/0.2478, allocations: 4.886 MB / 0.8952 GB, free: 3.934 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.561e-05/0.2478, allocations: 15.89 kB / 0.8952 GB, free: 3.918 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000309/0.2482, allocations: 124 kB / 0.8953 GB, free: 3.797 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004292/0.2486, allocations: 229.7 kB / 0.8956 GB, free: 3.57 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005781/0.2544, allocations: 3.758 MB / 0.8992 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02159/0.276, allocations: 21.44 MB / 0.9202 GB, free: 8.371 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.2778, allocations: 1.246 MB / 0.9214 GB, free: 7.109 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/0.2791, allocations: 0.9835 MB / 0.9223 GB, free: 6.125 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 6.669e-05/0.2792, allocations: 9 kB / 0.9223 GB, free: 6.117 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.2793, allocations: 51.56 kB / 0.9224 GB, free: 6.059 MB / 0.67 GB Notification: Performance of pre-optimization done (n=107): time 2.394e-06/0.2793, allocations: 0 / 0.9224 GB, free: 6.059 MB / 0.67 GB Notification: Performance of matching and sorting (n=138): time 0.02443/0.3037, allocations: 8.649 MB / 0.9308 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.3037, allocations: 68.66 kB / 0.9309 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001491/0.3052, allocations: 1.134 MB / 0.932 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.728e-05/0.3053, allocations: 57.64 kB / 0.9321 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009399/0.3063, allocations: 1.335 MB / 0.9334 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004269/0.3067, allocations: 499.7 kB / 0.9339 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004757/0.3072, allocations: 291.5 kB / 0.9341 GB, free: 9.941 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3073, allocations: 313.1 kB / 0.9344 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.3086, allocations: 0.9096 MB / 0.9353 GB, free: 8.723 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/0.3102, allocations: 1.33 MB / 0.9366 GB, free: 7.223 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003218/0.3135, allocations: 2.426 MB / 0.939 GB, free: 4.629 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.3135, allocations: 4 kB / 0.939 GB, free: 4.625 MB / 0.6856 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006151/0.3196, allocations: 3.437 MB / 0.9423 GB, free: 1.168 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.3197, allocations: 12 kB / 0.9424 GB, free: 1.156 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.3197, allocations: 15.94 kB / 0.9424 GB, free: 1.141 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003344/0.323, allocations: 1.171 MB / 0.9435 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009057/0.3239, allocations: 263.5 kB / 0.9438 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.019/0.3429, allocations: 13.86 MB / 0.9573 GB, free: 1.441 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/0.3444, allocations: 87.97 kB / 0.9574 GB, free: 1.355 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000159/0.3445, allocations: 64 kB / 0.9574 GB, free: 1.293 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002108/0.3466, allocations: 1.118 MB / 0.9585 GB, free: 168 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004043/0.347, allocations: 167.2 kB / 0.9587 GB, free: 16 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005986/0.353, allocations: 3.134 MB / 0.9618 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.353, allocations: 12 kB / 0.9618 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.153e-05/0.353, allocations: 15.94 kB / 0.9618 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.3531, allocations: 3.984 kB / 0.9618 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01041/0.3635, allocations: 6.198 MB / 0.9678 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.3635, allocations: 8.125 kB / 0.9678 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005793/0.3641, allocations: 151.8 kB / 0.968 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003008/0.3671, allocations: 1.071 MB / 0.969 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-05/0.3672, allocations: 28 kB / 0.9691 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01783/0.385, allocations: 13.55 MB / 0.9823 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.999e-06/0.385, allocations: 11.94 kB / 0.9823 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005493/0.3905, allocations: 3.116 MB / 0.9853 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007946/0.3913, allocations: 439.9 kB / 0.9858 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002606/0.3915, allocations: 35.94 kB / 0.9858 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008484/0.3924, allocations: 83.83 kB / 0.9859 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003028/0.3927, allocations: 124.7 kB / 0.986 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-05/0.3928, allocations: 44 kB / 0.986 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00107/0.3939, allocations: 0.7632 MB / 0.9868 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6e-08/0.3939, allocations: 0 / 0.9868 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001865/0.3957, allocations: 0.6641 MB / 0.9874 GB, free: 1.867 MB / 0.7325 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.3487/0.7445, allocations: 3.696 MB / 0.991 GB, free: 147.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004656/0.7491, allocations: 3.011 MB / 0.994 GB, free: 147.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.7491, allocations: 1.125 kB / 0.994 GB, free: 147.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002599/0.7517, allocations: 1.886 MB / 0.9958 GB, free: 146.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002125/0.7538, allocations: 0.4966 MB / 0.9963 GB, free: 146.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02867/0.7825, allocations: 19.12 MB / 1.015 GB, free: 138.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001807/0.7843, allocations: 2.332 MB / 1.017 GB, free: 137.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008975/0.7852, allocations: 353.5 kB / 1.018 GB, free: 137 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008101/0.786, allocations: 1.008 MB / 1.019 GB, free: 136.2 MB / 0.7325 GB Notification: Performance of SimCode: time 8.42e-07/0.786, allocations: 0 / 1.019 GB, free: 136.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07958/0.8656, allocations: 52.71 MB / 1.07 GB, free: 89.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.75, allocations: 8.031 kB / 1.07 GB, free: 89.38 MB / 0.7325 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_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_RL_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.66858790209517] Failed to read output from testmodel.py, exit status != 0: 12.853418132290244 12.861640885 12.632804671 Calling exit ...