Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009975/0.0009975, allocations: 72.45 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0008782/0.0008782, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8553/0.8553, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.001554/0.001554, allocations: 244.6 kB / 259.4 MB, free: 13 MB / 250.7 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 0.6576/0.6576, allocations: 138.4 MB / 454.3 MB, free: 1.621 MB / 362.7 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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.6463 GB, free: 29.07 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.351e-05/1.498e-05, allocations: 5.359 kB / 0.6463 GB, free: 29.07 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.008503/0.008518, allocations: 13.07 MB / 0.6591 GB, free: 19.46 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.006888/0.01541, allocations: 9.008 MB / 0.6679 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004997/0.01591, allocations: 79.25 kB / 0.6679 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.01747, allocations: 1.673 MB / 0.6696 GB, free: 9.773 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001701/0.01917, allocations: 1.633 MB / 0.6712 GB, free: 8.137 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007773/0.01995, allocations: 0.7697 MB / 0.6719 GB, free: 7.367 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001183/0.02113, allocations: 2.605 MB / 0.6745 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007431/0.02187, allocations: 1.184 MB / 0.6756 GB, free: 3.531 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007496/0.02262, allocations: 1.5 MB / 0.6771 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000623/0.02324, allocations: 0.9972 MB / 0.6781 GB, free: 1.027 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.02336, allocations: 164 kB / 0.6782 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000549/0.02391, allocations: 0.7405 MB / 0.6789 GB, free: 128 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003591/0.02427, allocations: 0.6542 MB / 0.6796 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.000416/0.02468, allocations: 0.6546 MB / 0.6802 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.02643, allocations: 2.804 MB / 0.683 GB, free: 12 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.02644, allocations: 0 / 0.683 GB, free: 12 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.112e-06/0.02644, allocations: 0 / 0.683 GB, free: 12 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.574e-05/0.02645, allocations: 0 / 0.683 GB, free: 12 MB / 0.5261 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.002548/0.029, allocations: 2.099 MB / 0.685 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.02905, allocations: 8.75 kB / 0.685 GB, free: 9.855 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001809/0.02923, allocations: 190.4 kB / 0.6852 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005585/0.03481, allocations: 2.106 MB / 0.6873 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.03641, allocations: 1.215 MB / 0.6884 GB, free: 6.285 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.902e-05/0.03646, allocations: 98.72 kB / 0.6885 GB, free: 6.188 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.03663, allocations: 116.4 kB / 0.6886 GB, free: 6.074 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003418/0.04005, allocations: 3.077 MB / 0.6916 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/0.04008, allocations: 11.89 kB / 0.6917 GB, free: 2.738 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.0402, allocations: 63.92 kB / 0.6917 GB, free: 2.676 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004525/0.04065, allocations: 182.1 kB / 0.6919 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003994/0.04465, allocations: 2.795 MB / 0.6946 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007534/0.05218, allocations: 8.319 MB / 0.7027 GB, free: 7.195 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003448/0.05563, allocations: 2.221 MB / 0.7049 GB, free: 4.965 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001769/0.0574, allocations: 1.213 MB / 0.7061 GB, free: 3.75 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.954e-05/0.05745, allocations: 13 kB / 0.7061 GB, free: 3.734 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.05747, allocations: 43.5 kB / 0.7062 GB, free: 3.684 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=89): time 2.044e-06/0.05747, allocations: 0 / 0.7062 GB, free: 3.684 MB / 0.5417 GB Notification: Performance of matching and sorting (n=131): time 0.02263/0.0801, allocations: 12.66 MB / 0.7185 GB, free: 6.984 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.08014, allocations: 68.72 kB / 0.7186 GB, free: 6.902 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000948/0.08109, allocations: 1.129 MB / 0.7197 GB, free: 5.758 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.462e-05/0.08117, allocations: 49.7 kB / 0.7197 GB, free: 5.703 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004814/0.08165, allocations: 0.7248 MB / 0.7204 GB, free: 4.973 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002734/0.08193, allocations: 475.9 kB / 0.7209 GB, free: 4.504 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002962/0.08222, allocations: 255.5 kB / 0.7211 GB, free: 4.25 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.226e-05/0.08231, allocations: 365.9 kB / 0.7215 GB, free: 3.887 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/0.0841, allocations: 1.339 MB / 0.7228 GB, free: 2.547 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001883/0.08599, allocations: 1.608 MB / 0.7244 GB, free: 0.8438 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00384/0.08983, allocations: 2.994 MB / 0.7273 GB, free: 13.75 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.08983, allocations: 0 / 0.7273 GB, free: 13.75 MB / 0.573 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.006028/0.09586, allocations: 4.397 MB / 0.7316 GB, free: 9.305 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.09588, allocations: 10.19 kB / 0.7316 GB, free: 9.297 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.09589, allocations: 16 kB / 0.7316 GB, free: 9.281 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002614/0.0985, allocations: 1.427 MB / 0.733 GB, free: 7.812 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009762/0.09948, allocations: 431.2 kB / 0.7334 GB, free: 7.391 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01592/0.1154, allocations: 25.1 MB / 0.7579 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.1167, allocations: 307.7 kB / 0.7582 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.926e-05/0.1168, allocations: 63.97 kB / 0.7583 GB, free: 12.43 MB / 0.6042 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.0005814/0.1173, allocations: 440.4 kB / 0.7587 GB, free: 12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/0.1175, allocations: 171 kB / 0.7589 GB, free: 11.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006259/0.1238, allocations: 4.402 MB / 0.7632 GB, free: 7.367 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.1238, allocations: 12 kB / 0.7632 GB, free: 7.355 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.1238, allocations: 15.98 kB / 0.7632 GB, free: 7.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.1238, allocations: 7.984 kB / 0.7632 GB, free: 7.332 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008135/0.1319, allocations: 6.3 MB / 0.7693 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.1319, allocations: 12.06 kB / 0.7694 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008243/0.1328, allocations: 383.3 kB / 0.7697 GB, free: 0.5117 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002274/0.135, allocations: 1.307 MB / 0.771 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.145e-05/0.1351, allocations: 36.16 kB / 0.771 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01422/0.1493, allocations: 23.93 MB / 0.7944 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1493, allocations: 3.938 kB / 0.7944 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005804/0.1551, allocations: 4.164 MB / 0.7985 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005366/0.1557, allocations: 390.7 kB / 0.7988 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.1558, allocations: 24.19 kB / 0.7989 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009772/0.1568, allocations: 311.5 kB / 0.7992 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002787/0.157, allocations: 132.6 kB / 0.7993 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.392e-05/0.1571, allocations: 55.89 kB / 0.7993 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006696/0.1578, allocations: 0.7526 MB / 0.8001 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8e-08/0.1578, allocations: 0 / 0.8001 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001255/0.159, allocations: 0.5703 MB / 0.8006 GB, free: 15.22 MB / 0.6511 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.006/0.165, allocations: 4.743 MB / 0.8053 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005815/0.1709, allocations: 4.974 MB / 0.8101 GB, free: 5.23 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1709, allocations: 0 / 0.8101 GB, free: 5.23 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.003507/0.1744, allocations: 3.409 MB / 0.8135 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.1757, allocations: 0.552 MB / 0.814 GB, free: 1.125 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02415/0.1998, allocations: 19.36 MB / 0.8329 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008981/0.2007, allocations: 0.8873 MB / 0.8338 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001014/0.2018, allocations: 425.6 kB / 0.8342 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000611/0.2024, allocations: 0.633 MB / 0.8348 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of SimCode: time 1.072e-06/0.2024, allocations: 0 / 0.8348 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.302/0.5044, allocations: 56.48 MB / 0.89 GB, free: 185.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.09/8.594, allocations: 11.14 kB / 0.89 GB, free: 185.2 MB / 0.698 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.411468462087214] Failed to read output from testmodel.py, exit status != 0: 8.705006248317659 8.717361684 8.687762939 Calling exit ...