Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001287/0.001287, allocations: 107.2 kB / 16.45 MB, free: 6.449 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.001393/0.001393, allocations: 212 kB / 19.43 MB, free: 3.637 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.384/1.384, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] 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.002513/0.002513, allocations: 283.7 kB / 309.1 MB, free: 3.98 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.148/1.148, allocations: 180.9 MB / 0.5333 GB, free: 13.81 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_R_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.00273/0.00273, allocations: 106.6 kB / 0.7343 GB, free: 28.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.158, allocations: 95.33 MB / 0.8274 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04376/0.2017, allocations: 38.6 MB / 0.8651 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01877/0.2205, allocations: 11.15 MB / 0.876 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003191/0.2237, allocations: 198.6 kB / 0.8761 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01113/0.2348, allocations: 4.434 MB / 0.8805 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007005/0.2418, allocations: 2.332 MB / 0.8827 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005734/0.2476, allocations: 2.177 MB / 0.8849 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01173/0.2593, allocations: 9.268 MB / 0.8939 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01344/0.2727, allocations: 8.545 MB / 0.9023 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006237/0.279, allocations: 4.109 MB / 0.9063 GB, free: 8.844 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007238/0.2862, allocations: 4.743 MB / 0.9109 GB, free: 4.086 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002149/0.2884, allocations: 0.8203 MB / 0.9117 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004158/0.2925, allocations: 1.615 MB / 0.9133 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004368/0.2969, allocations: 3.235 MB / 0.9165 GB, free: 14.41 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.006141/0.303, allocations: 3.653 MB / 0.92 GB, free: 10.74 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01432/0.3173, allocations: 12.35 MB / 0.9321 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3173, allocations: 0 / 0.9321 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3174, allocations: 0 / 0.9321 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002621/0.3176, allocations: 0 / 0.9321 GB, free: 14.35 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01393/0.3315, allocations: 6.474 MB / 0.9384 GB, free: 7.797 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.3316, allocations: 11.97 kB / 0.9384 GB, free: 7.785 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001527/0.3331, allocations: 0.8216 MB / 0.9392 GB, free: 6.953 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005444/0.3386, allocations: 1.102 MB / 0.9403 GB, free: 5.848 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006805/0.3454, allocations: 3.624 MB / 0.9438 GB, free: 2.172 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003294/0.3457, allocations: 423.7 kB / 0.9442 GB, free: 1.758 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001172/0.3469, allocations: 0.5471 MB / 0.9448 GB, free: 1.211 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01799/0.3648, allocations: 9.382 MB / 0.9539 GB, free: 7.496 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001048/0.365, allocations: 15.88 kB / 0.9539 GB, free: 7.48 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006143/0.3656, allocations: 252 kB / 0.9542 GB, free: 7.234 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006062/0.3662, allocations: 418.9 kB / 0.9546 GB, free: 6.824 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01257/0.3787, allocations: 7.127 MB / 0.9615 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3545/0.7333, allocations: 41.05 MB / 1.002 GB, free: 128.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003875/0.7371, allocations: 2.913 MB / 1.004 GB, free: 128.8 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002612/0.7397, allocations: 1.947 MB / 1.006 GB, free: 128.7 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/0.7399, allocations: 24.48 kB / 1.006 GB, free: 128.7 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.7399, allocations: 69.69 kB / 1.006 GB, free: 128.7 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=209): time 3.477e-06/0.7399, allocations: 0 / 1.006 GB, free: 128.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=212): time 0.02315/0.7631, allocations: 10.57 MB / 1.017 GB, free: 125.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.7631, allocations: 77.16 kB / 1.017 GB, free: 125.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002478/0.7656, allocations: 2.009 MB / 1.019 GB, free: 124.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002544/0.7658, allocations: 64.91 kB / 1.019 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009678/0.7668, allocations: 2.478 MB / 1.021 GB, free: 122.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005036/0.7673, allocations: 0.762 MB / 1.022 GB, free: 122.4 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005939/0.7679, allocations: 482.6 kB / 1.023 GB, free: 122.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.558e-05/0.7679, allocations: 305.1 kB / 1.023 GB, free: 121.9 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001511/0.7694, allocations: 1.375 MB / 1.024 GB, free: 121.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001721/0.7712, allocations: 2.098 MB / 1.026 GB, free: 120 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003543/0.7747, allocations: 3.764 MB / 1.03 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-05/0.7747, allocations: 11.42 kB / 1.03 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006361/0.7811, allocations: 5.034 MB / 1.035 GB, free: 114.9 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.7811, allocations: 11.19 kB / 1.035 GB, free: 114.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/0.7811, allocations: 22.5 kB / 1.035 GB, free: 114.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002882/0.784, allocations: 1.582 MB / 1.036 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/0.7854, allocations: 453.6 kB / 1.037 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01626/0.8017, allocations: 18.61 MB / 1.055 GB, free: 98.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/0.8039, allocations: 147.9 kB / 1.055 GB, free: 98.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001952/0.8041, allocations: 104 kB / 1.055 GB, free: 98.66 MB / 0.7325 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002215/0.8063, allocations: 1.941 MB / 1.057 GB, free: 96.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004871/0.8068, allocations: 302.2 kB / 1.057 GB, free: 96.41 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005559/0.8123, allocations: 4.4 MB / 1.062 GB, free: 91.98 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.8123, allocations: 21.5 kB / 1.062 GB, free: 91.96 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/0.8123, allocations: 20 kB / 1.062 GB, free: 91.94 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.488e-05/0.8124, allocations: 7.969 kB / 1.062 GB, free: 91.93 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01158/0.8239, allocations: 9.617 MB / 1.071 GB, free: 82.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/0.824, allocations: 4.875 kB / 1.071 GB, free: 82.21 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008811/0.8248, allocations: 231.6 kB / 1.071 GB, free: 81.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002759/0.8276, allocations: 1.423 MB / 1.073 GB, free: 80.55 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001295/0.8277, allocations: 36 kB / 1.073 GB, free: 80.51 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01652/0.8442, allocations: 18.59 MB / 1.091 GB, free: 61.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.8442, allocations: 9.031 kB / 1.091 GB, free: 61.37 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005897/0.8501, allocations: 4.511 MB / 1.095 GB, free: 56.78 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/0.8514, allocations: 0.6436 MB / 1.096 GB, free: 56.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003933/0.8518, allocations: 43.94 kB / 1.096 GB, free: 56.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/0.853, allocations: 115.9 kB / 1.096 GB, free: 55.96 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004347/0.8534, allocations: 185.4 kB / 1.096 GB, free: 55.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/0.8536, allocations: 58.88 kB / 1.096 GB, free: 55.72 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001331/0.8549, allocations: 1.319 MB / 1.098 GB, free: 54.39 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8549, allocations: 0 / 1.098 GB, free: 54.39 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002728/0.8576, allocations: 1.141 MB / 1.099 GB, free: 53.25 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00526/0.8629, allocations: 5.12 MB / 1.104 GB, free: 48.04 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005458/0.8683, allocations: 4.536 MB / 1.108 GB, free: 43.46 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.8683, allocations: 0 / 1.108 GB, free: 43.46 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003399/0.8717, allocations: 2.805 MB / 1.111 GB, free: 40.61 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003282/0.875, allocations: 0.906 MB / 1.112 GB, free: 39.73 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03621/0.9112, allocations: 30.43 MB / 1.142 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003335/0.9146, allocations: 3.69 MB / 1.145 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001824/0.9164, allocations: 0.5634 MB / 1.146 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001984/0.9184, allocations: 1.944 MB / 1.148 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of SimCode: time 1.563e-06/0.9184, allocations: 4 kB / 1.148 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1532/1.072, allocations: 85.94 MB / 1.232 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.67/15.74, allocations: 11.75 kB / 1.232 GB, free: 12.96 MB / 0.8262 GB " [Timeout remaining time 644] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.741253656800836] Failed to read output from testmodel.py, exit status != 0: 15.866356296930462 15.88065034 15.560239353 Calling exit ...