Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.0008889/0.0008889, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001015/0.001015, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9387/0.9387, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5764/0.5764, allocations: 114 MB / 373.9 MB, free: 8.723 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.5542 GB, free: 1.719 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.69e-05/1.901e-05, allocations: 10.67 kB / 0.5542 GB, free: 1.711 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.0108/0.01081, allocations: 13.07 MB / 0.567 GB, free: 4.586 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00933/0.02014, allocations: 9.01 MB / 0.5758 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008458/0.02099, allocations: 91.19 kB / 0.5758 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.00215/0.02314, allocations: 1.668 MB / 0.5775 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002717/0.02586, allocations: 1.631 MB / 0.5791 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.027, allocations: 0.7636 MB / 0.5798 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002164/0.02917, allocations: 2.598 MB / 0.5823 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/0.0304, allocations: 1.187 MB / 0.5835 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001616/0.03201, allocations: 1.586 MB / 0.5851 GB, free: 1.977 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009751/0.03299, allocations: 0.9543 MB / 0.586 GB, free: 1.02 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001603/0.03315, allocations: 160 kB / 0.5861 GB, free: 0.8633 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008492/0.034, allocations: 0.7404 MB / 0.5869 GB, free: 124 kB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003667/0.03436, allocations: 0.6465 MB / 0.5875 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004307/0.03479, allocations: 0.639 MB / 0.5881 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.03667, allocations: 2.777 MB / 0.5908 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.03668, allocations: 4 kB / 0.5908 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.804e-06/0.03668, allocations: 0 / 0.5908 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.296e-05/0.0367, allocations: 0 / 0.5908 GB, free: 12.04 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002228/0.03893, allocations: 2.085 MB / 0.5929 GB, free: 9.918 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.03897, allocations: 8.625 kB / 0.5929 GB, free: 9.91 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001743/0.03915, allocations: 194.4 kB / 0.5931 GB, free: 9.711 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005505/0.04465, allocations: 2.102 MB / 0.5951 GB, free: 7.605 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.04606, allocations: 1.18 MB / 0.5963 GB, free: 6.375 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.818e-05/0.04611, allocations: 90.73 kB / 0.5964 GB, free: 6.285 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/0.04628, allocations: 116.4 kB / 0.5965 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003498/0.04978, allocations: 2.89 MB / 0.5993 GB, free: 3.086 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/0.04981, allocations: 11.89 kB / 0.5993 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/0.04992, allocations: 59.98 kB / 0.5994 GB, free: 3.016 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003069/0.05023, allocations: 178.1 kB / 0.5995 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004054/0.05428, allocations: 2.795 MB / 0.6023 GB, free: 36 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007842/0.06213, allocations: 8.328 MB / 0.6104 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003671/0.0658, allocations: 2.224 MB / 0.6126 GB, free: 5.301 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001665/0.06746, allocations: 1.21 MB / 0.6137 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.259e-05/0.06752, allocations: 9 kB / 0.6138 GB, free: 4.078 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.06755, allocations: 47.56 kB / 0.6138 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=89): time 2.625e-06/0.06755, allocations: 0 / 0.6138 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of matching and sorting (n=131): time 0.02358/0.09113, allocations: 12.65 MB / 0.6262 GB, free: 7.316 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.09117, allocations: 68.7 kB / 0.6262 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.09222, allocations: 1.136 MB / 0.6273 GB, free: 6.082 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.322e-05/0.09231, allocations: 45.7 kB / 0.6274 GB, free: 6.031 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004126/0.09272, allocations: 0.7287 MB / 0.6281 GB, free: 5.297 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003429/0.09307, allocations: 467.9 kB / 0.6285 GB, free: 4.836 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003442/0.09341, allocations: 263.5 kB / 0.6288 GB, free: 4.574 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.09353, allocations: 353.9 kB / 0.6291 GB, free: 4.223 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00178/0.09531, allocations: 1.343 MB / 0.6304 GB, free: 2.879 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001897/0.09721, allocations: 1.608 MB / 0.632 GB, free: 1.176 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003998/0.1012, allocations: 2.99 MB / 0.6349 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.1012, allocations: 4 kB / 0.6349 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.006235/0.1074, allocations: 4.401 MB / 0.6392 GB, free: 9.633 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.1075, allocations: 11.94 kB / 0.6392 GB, free: 9.621 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.1075, allocations: 11.88 kB / 0.6392 GB, free: 9.609 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002865/0.1103, allocations: 1.438 MB / 0.6407 GB, free: 8.133 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009796/0.1113, allocations: 439.2 kB / 0.6411 GB, free: 7.703 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2606/0.372, allocations: 25.07 MB / 0.6656 GB, free: 81.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.3734, allocations: 303.5 kB / 0.6658 GB, free: 81.31 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.3735, allocations: 61.5 kB / 0.6659 GB, free: 81.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006488/0.3742, allocations: 433 kB / 0.6663 GB, free: 81.03 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.3744, allocations: 170.2 kB / 0.6665 GB, free: 81.03 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006565/0.381, allocations: 4.414 MB / 0.6708 GB, free: 79.61 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.381, allocations: 13.12 kB / 0.6708 GB, free: 79.61 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.781e-05/0.381, allocations: 16.42 kB / 0.6708 GB, free: 79.61 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.381, allocations: 7.156 kB / 0.6708 GB, free: 79.61 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009375/0.3904, allocations: 6.279 MB / 0.677 GB, free: 77.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.3904, allocations: 6.656 kB / 0.677 GB, free: 77.41 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008532/0.3912, allocations: 383.9 kB / 0.6773 GB, free: 77.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002409/0.3936, allocations: 1.307 MB / 0.6786 GB, free: 77.05 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.808e-05/0.3937, allocations: 36.77 kB / 0.6786 GB, free: 77.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01417/0.4079, allocations: 23.96 MB / 0.702 GB, free: 56.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.4079, allocations: 7.781 kB / 0.702 GB, free: 56.86 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006545/0.4144, allocations: 4.158 MB / 0.7061 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000466/0.4149, allocations: 387.7 kB / 0.7065 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.415, allocations: 24.47 kB / 0.7065 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009387/0.416, allocations: 315.2 kB / 0.7068 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002706/0.4162, allocations: 134.9 kB / 0.7069 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.821e-05/0.4163, allocations: 48.47 kB / 0.707 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006213/0.4169, allocations: 0.7518 MB / 0.7077 GB, free: 53.51 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4169, allocations: 2.969 kB / 0.7077 GB, free: 53.51 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00127/0.4182, allocations: 0.568 MB / 0.7083 GB, free: 53.23 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005264/0.4235, allocations: 4.743 MB / 0.7129 GB, free: 48.38 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005292/0.4288, allocations: 4.972 MB / 0.7178 GB, free: 43.25 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.4288, allocations: 4 kB / 0.7178 GB, free: 43.25 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002984/0.4317, allocations: 3.406 MB / 0.7211 GB, free: 39.67 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.4331, allocations: 0.5557 MB / 0.7216 GB, free: 39.15 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02014/0.4532, allocations: 19.36 MB / 0.7405 GB, free: 19.38 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005981/0.4538, allocations: 0.8873 MB / 0.7414 GB, free: 18.45 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008078/0.4546, allocations: 429.6 kB / 0.7418 GB, free: 18.02 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004999/0.4551, allocations: 0.6252 MB / 0.7424 GB, free: 17.4 MB / 0.5573 GB Notification: Performance of SimCode: time 1.303e-06/0.4551, allocations: 0 / 0.7424 GB, free: 17.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07525/0.5304, allocations: 56.44 MB / 0.7975 GB, free: 9.879 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.526/9.057, allocations: 7.031 kB / 0.7975 GB, free: 9.875 MB / 0.6042 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.74595483765006] Failed to read output from testmodel.py, exit status != 0: 9.164025776088238 9.17412674 9.135735535 Calling exit ...