Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.001369/0.001369, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001473/0.001473, allocations: 217 kB / 22.25 MB, free: 5.082 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.412/1.412, allocations: 230.6 MB / 256 MB, free: 8.031 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.002549/0.002549, allocations: 281.9 kB / 312.7 MB, free: 2.898 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.184/1.184, allocations: 180.6 MB / 0.5369 GB, free: 12.93 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.ACLineMatrix_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.002895/0.002895, allocations: 105.9 kB / 0.7396 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1842, 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.ACLineMatrix_RL_N): time 0.03015/0.2143, allocations: 24.46 MB / 0.8566 GB, free: 88 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01233/0.2267, allocations: 6.699 MB / 0.8632 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002365/0.229, allocations: 123.1 kB / 0.8633 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004566/0.2336, allocations: 1.566 MB / 0.8648 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005209/0.2388, allocations: 1.933 MB / 0.8667 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004097/0.2429, allocations: 1.509 MB / 0.8682 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.009199/0.2521, allocations: 6.905 MB / 0.8749 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006655/0.2588, allocations: 3.769 MB / 0.8786 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004734/0.2635, allocations: 2.91 MB / 0.8815 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006009/0.2695, allocations: 3.747 MB / 0.8851 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001214/0.2707, allocations: 0.5234 MB / 0.8856 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002788/0.2735, allocations: 1.202 MB / 0.8868 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003524/0.277, allocations: 2.533 MB / 0.8893 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.004346/0.2814, allocations: 2.528 MB / 0.8917 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01153/0.2929, allocations: 8.542 MB / 0.9001 GB, free: 3.383 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.2929, allocations: 0 / 0.9001 GB, free: 3.383 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.996e-06/0.2929, allocations: 0 / 0.9001 GB, free: 3.383 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002857/0.2932, allocations: 0 / 0.9001 GB, free: 3.383 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01282/0.306, allocations: 4.468 MB / 0.9044 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/0.3061, allocations: 13.34 kB / 0.9045 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001749/0.3078, allocations: 0.5753 MB / 0.905 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008775/0.3166, allocations: 1.695 MB / 0.9067 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006611/0.3232, allocations: 2.668 MB / 0.9093 GB, free: 9.852 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002202/0.3234, allocations: 279.7 kB / 0.9095 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008635/0.3243, allocations: 368.2 kB / 0.9099 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01397/0.3383, allocations: 7.487 MB / 0.9172 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.86e-05/0.3384, allocations: 15.88 kB / 0.9172 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005505/0.3389, allocations: 159.9 kB / 0.9174 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006182/0.3395, allocations: 487.3 kB / 0.9178 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01129/0.3508, allocations: 5.697 MB / 0.9234 GB, free: 11.11 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04074/0.3916, allocations: 31.28 MB / 0.954 GB, free: 9.047 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003151/0.3947, allocations: 2.024 MB / 0.9559 GB, free: 7.016 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003206/0.3979, allocations: 2.104 MB / 0.958 GB, free: 4.906 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/0.3981, allocations: 21.3 kB / 0.958 GB, free: 4.887 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.3981, allocations: 43.88 kB / 0.958 GB, free: 4.832 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=146): time 3.597e-06/0.3981, allocations: 0 / 0.958 GB, free: 4.832 MB / 0.7012 GB Notification: Performance of matching and sorting (n=251): time 0.6271/1.025, allocations: 76.71 MB / 1.033 GB, free: 133.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/1.025, allocations: 81.34 kB / 1.033 GB, free: 133.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001676/1.027, allocations: 1.674 MB / 1.035 GB, free: 131.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.00032/1.027, allocations: 65.7 kB / 1.035 GB, free: 131.4 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006426/1.028, allocations: 1.79 MB / 1.036 GB, free: 129.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000554/1.028, allocations: 0.8969 MB / 1.037 GB, free: 129 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007957/1.029, allocations: 489.3 kB / 1.038 GB, free: 128.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.848e-05/1.029, allocations: 305.1 kB / 1.038 GB, free: 128.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002758/1.032, allocations: 2.73 MB / 1.041 GB, free: 125.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003096/1.035, allocations: 3.332 MB / 1.044 GB, free: 121.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006189/1.041, allocations: 6.39 MB / 1.05 GB, free: 115.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/1.041, allocations: 7.938 kB / 1.05 GB, free: 115.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02613/1.067, allocations: 14.41 MB / 1.064 GB, free: 100.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.976e-05/1.068, allocations: 17.86 kB / 1.064 GB, free: 100.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.418e-05/1.068, allocations: 16 kB / 1.064 GB, free: 100.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02451/1.092, allocations: 9.237 MB / 1.073 GB, free: 91.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/1.093, allocations: 303.4 kB / 1.074 GB, free: 91.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06211/1.155, allocations: 51.79 MB / 1.124 GB, free: 38.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002603/1.158, allocations: 223.7 kB / 1.124 GB, free: 38.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002441/1.158, allocations: 100 kB / 1.125 GB, free: 38.41 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001997/1.16, allocations: 1.587 MB / 1.126 GB, free: 36.81 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004417/1.161, allocations: 254.6 kB / 1.126 GB, free: 36.56 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02677/1.187, allocations: 14.47 MB / 1.141 GB, free: 22.03 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.011e-05/1.187, allocations: 24 kB / 1.141 GB, free: 22.01 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001062/1.187, allocations: 48.88 kB / 1.141 GB, free: 21.96 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.297e-05/1.187, allocations: 15.94 kB / 1.141 GB, free: 21.95 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03467/1.222, allocations: 20.2 MB / 1.16 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.157e-05/1.222, allocations: 8 kB / 1.16 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006872/1.223, allocations: 160.6 kB / 1.16 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02862/1.251, allocations: 9.014 MB / 1.169 GB, free: 8.398 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004184/1.252, allocations: 51.62 kB / 1.169 GB, free: 8.352 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0846/1.337, allocations: 51.35 MB / 1.219 GB, free: 4.32 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-05/1.337, allocations: 15.92 kB / 1.219 GB, free: 4.305 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03269/1.369, allocations: 14.09 MB / 1.233 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002673/1.372, allocations: 0.7831 MB / 1.234 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000675/1.373, allocations: 52.67 kB / 1.234 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002025/1.375, allocations: 207.7 kB / 1.234 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001208/1.376, allocations: 249.3 kB / 1.234 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002212/1.376, allocations: 71.98 kB / 1.235 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001809/1.378, allocations: 1.117 MB / 1.236 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9e-08/1.378, allocations: 4 kB / 1.236 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.005257/1.383, allocations: 1.617 MB / 1.237 GB, free: 1.965 MB / 0.8106 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 (80): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03295/1.416, allocations: 14.71 MB / 1.252 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0243/1.44, allocations: 10.21 MB / 1.262 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 9.457e-06/1.44, allocations: 0 / 1.262 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.01772/1.458, allocations: 7.003 MB / 1.268 GB, free: 1.773 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003089/1.461, allocations: 0.5582 MB / 1.269 GB, free: 1.234 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1042/1.565, allocations: 50.51 MB / 1.318 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004076/1.569, allocations: 3.224 MB / 1.321 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001093/1.57, allocations: 395.3 kB / 1.322 GB, free: 10 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001724/1.572, allocations: 1.464 MB / 1.323 GB, free: 8.535 MB / 0.9044 GB Notification: Performance of SimCode: time 7.81e-07/1.572, allocations: 0 / 1.323 GB, free: 8.535 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5507/2.123, allocations: 124.7 MB / 1.445 GB, free: 252.3 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.85/17.97, allocations: 11.02 kB / 1.445 GB, free: 252.2 MB / 0.92 GB " [Timeout remaining time 642] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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_ACLineMatrix_RL_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.176382658002694] Failed to read output from testmodel.py, exit status != 0: 18.122337700999196 18.132531692 17.837105067 Calling exit ...