Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 114.7 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.702/2.702, allocations: 476.7 MB / 0.7629 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003207/0.003207, allocations: 71.89 kB / 1.107 GB, free: 5.047 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8582/0.8615, allocations: 168.7 MB / 1.272 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04442/0.9059, allocations: 39.28 MB / 1.31 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0251/0.931, allocations: 13.58 MB / 1.323 GB, free: 4.504 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004755/0.9357, allocations: 170.2 kB / 1.323 GB, free: 4.449 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01118/0.9469, allocations: 4.036 MB / 1.327 GB, free: 2.09 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01001/0.9569, allocations: 2.613 MB / 1.33 GB, free: 488 kB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.009091/0.966, allocations: 2.774 MB / 1.333 GB, free: 14.91 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01476/0.9808, allocations: 9.566 MB / 1.342 GB, free: 10.6 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009197/0.99, allocations: 5.25 MB / 1.347 GB, free: 7.91 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007942/0.9979, allocations: 4.071 MB / 1.351 GB, free: 6.086 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009042/1.007, allocations: 4.672 MB / 1.356 GB, free: 3.402 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002036/1.009, allocations: 0.7696 MB / 1.356 GB, free: 3.402 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006621/1.016, allocations: 1.818 MB / 1.358 GB, free: 2.832 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.005465/1.021, allocations: 3.112 MB / 1.361 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.007043/1.028, allocations: 3.58 MB / 1.365 GB, free: 14.29 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01655/1.045, allocations: 11.89 MB / 1.376 GB, free: 5.688 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/1.045, allocations: 1.406 kB / 1.376 GB, free: 5.688 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.633e-06/1.045, allocations: 0 / 1.376 GB, free: 5.688 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0003234/1.045, allocations: 4 kB / 1.376 GB, free: 5.684 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01976/1.065, allocations: 6.512 MB / 1.383 GB, free: 1.336 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/1.065, allocations: 13.19 kB / 1.383 GB, free: 1.332 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001618/1.066, allocations: 0.752 MB / 1.383 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008516/1.075, allocations: 1.331 MB / 1.385 GB, free: 156 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009031/1.084, allocations: 3.812 MB / 1.388 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003159/1.084, allocations: 378.5 kB / 1.389 GB, free: 12.75 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001252/1.086, allocations: 0.4964 MB / 1.389 GB, free: 12.25 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01726/1.103, allocations: 8.882 MB / 1.398 GB, free: 3.02 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001592/1.103, allocations: 39.7 kB / 1.398 GB, free: 2.98 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000921/1.104, allocations: 216 kB / 1.398 GB, free: 2.77 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002296/1.106, allocations: 0.6343 MB / 1.399 GB, free: 2.133 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01406/1.12, allocations: 7.01 MB / 1.406 GB, free: 11.11 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05935/1.18, allocations: 40.13 MB / 1.445 GB, free: 15.75 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004785/1.184, allocations: 2.644 MB / 1.447 GB, free: 13.09 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004153/1.189, allocations: 2.417 MB / 1.45 GB, free: 10.67 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003088/1.189, allocations: 30.09 kB / 1.45 GB, free: 10.64 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.738e-05/1.189, allocations: 68.59 kB / 1.45 GB, free: 10.56 MB / 1.139 GB Notification: Performance of pre-optimization done (n=265): time 6.502e-06/1.189, allocations: 7.938 kB / 1.45 GB, free: 10.55 MB / 1.139 GB Notification: Performance of matching and sorting (n=424): time 0.3044/1.493, allocations: 74.59 MB / 1.523 GB, free: 15.31 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.822e-05/1.493, allocations: 94.73 kB / 1.523 GB, free: 15.21 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003581/1.497, allocations: 2.363 MB / 1.525 GB, free: 12.83 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0007082/1.498, allocations: 93.7 kB / 1.525 GB, free: 12.73 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001886/1.5, allocations: 2.403 MB / 1.527 GB, free: 10.31 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001762/1.501, allocations: 1.506 MB / 1.529 GB, free: 8.793 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001523/1.503, allocations: 0.7256 MB / 1.53 GB, free: 8.055 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001246/1.503, allocations: 313.1 kB / 1.53 GB, free: 7.746 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00479/1.508, allocations: 2.991 MB / 1.533 GB, free: 4.746 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005539/1.513, allocations: 3.851 MB / 1.537 GB, free: 0.5625 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/1.525, allocations: 7.384 MB / 1.544 GB, free: 8.855 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.651e-05/1.525, allocations: 8 kB / 1.544 GB, free: 8.848 MB / 1.232 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03062/1.555, allocations: 12.39 MB / 1.556 GB, free: 12.35 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 4.166e-05/1.555, allocations: 16.94 kB / 1.556 GB, free: 12.34 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.595e-05/1.555, allocations: 24 kB / 1.556 GB, free: 12.31 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02374/1.579, allocations: 6.03 MB / 1.562 GB, free: 6.215 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00234/1.581, allocations: 491.2 kB / 1.562 GB, free: 5.734 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09686/1.678, allocations: 73.04 MB / 1.634 GB, free: 9.359 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004535/1.683, allocations: 219.9 kB / 1.634 GB, free: 9.145 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000873/1.684, allocations: 159.9 kB / 1.634 GB, free: 8.988 MB / 1.326 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004119/1.688, allocations: 1.992 MB / 1.636 GB, free: 6.984 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009945/1.689, allocations: 413.5 kB / 1.636 GB, free: 6.578 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03005/1.719, allocations: 12.05 MB / 1.648 GB, free: 10.42 MB / 1.342 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.191e-05/1.719, allocations: 43.94 kB / 1.648 GB, free: 10.38 MB / 1.342 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001267/1.719, allocations: 51.94 kB / 1.648 GB, free: 10.32 MB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-05/1.719, allocations: 19.92 kB / 1.648 GB, free: 10.3 MB / 1.342 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04172/1.761, allocations: 18.95 MB / 1.667 GB, free: 7.082 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.549e-05/1.761, allocations: 4.938 kB / 1.667 GB, free: 7.078 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001687/1.763, allocations: 287.5 kB / 1.667 GB, free: 6.797 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02192/1.784, allocations: 5.583 MB / 1.672 GB, free: 1.148 MB / 1.357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006065/1.785, allocations: 79.98 kB / 1.673 GB, free: 1.07 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09257/1.878, allocations: 70.66 MB / 1.742 GB, free: 7.07 MB / 1.436 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-05/1.878, allocations: 11.94 kB / 1.742 GB, free: 7.059 MB / 1.436 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03484/1.912, allocations: 15.46 MB / 1.757 GB, free: 7.359 MB / 1.451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002979/1.915, allocations: 1.072 MB / 1.758 GB, free: 6.266 MB / 1.451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006581/1.916, allocations: 80 kB / 1.758 GB, free: 6.188 MB / 1.451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002597/1.919, allocations: 219.7 kB / 1.758 GB, free: 5.973 MB / 1.451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001356/1.92, allocations: 398.3 kB / 1.758 GB, free: 5.582 MB / 1.451 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003058/1.92, allocations: 108 kB / 1.758 GB, free: 5.477 MB / 1.451 GB Notification: Performance of sorting global known variables: time 0.002334/1.923, allocations: 1.56 MB / 1.76 GB, free: 3.918 MB / 1.451 GB Notification: Performance of sort global known variables: time 9e-08/1.923, allocations: 0 / 1.76 GB, free: 3.918 MB / 1.451 GB Notification: Performance of remove unused functions: time 0.005931/1.929, allocations: 1.863 MB / 1.762 GB, free: 2.055 MB / 1.451 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03349/1.962, allocations: 16.12 MB / 1.778 GB, free: 1.68 MB / 1.467 GB Notification: Performance of simCode: created initialization part: time 0.02336/1.986, allocations: 11.6 MB / 1.789 GB, free: 5.754 MB / 1.482 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/1.986, allocations: 0 / 1.789 GB, free: 5.754 MB / 1.482 GB Notification: Performance of simCode: created simulation system equations: time 0.01631/2.002, allocations: 8.114 MB / 1.797 GB, free: 13.32 MB / 1.498 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005761/2.008, allocations: 1.189 MB / 1.798 GB, free: 12.16 MB / 1.498 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6885/2.696, allocations: 53.83 MB / 1.851 GB, free: 491.1 MB / 1.529 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004955/2.701, allocations: 4.09 MB / 1.855 GB, free: 490.2 MB / 1.529 GB Notification: Performance of simCode: alias equations: time 0.00221/2.703, allocations: 0.6708 MB / 1.855 GB, free: 490.2 MB / 1.529 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001938/2.705, allocations: 2.126 MB / 1.857 GB, free: 490.2 MB / 1.529 GB Notification: Performance of SimCode: time 1.011e-06/2.705, allocations: 0 / 1.857 GB, free: 490.2 MB / 1.529 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2651/2.97, allocations: 153.5 MB / 2.007 GB, free: 398.2 MB / 1.529 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.68/21.65, allocations: 2.625 kB / 2.007 GB, free: 398.2 MB / 1.529 GB " [Timeout remaining time 278] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 27.448066501994617] Failed to read output from testmodel.py, exit status != 0: 21.81660134199774 21.83235567 20.784153551 Calling exit ...