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.0007983/0.0007983, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008645/0.0008645, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9116/0.9116, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.001489/0.001489, allocations: 237.6 kB / 259.4 MB, free: 13.03 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.6733/0.6733, allocations: 138.4 MB / 454.3 MB, free: 1.625 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.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: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.6463 GB, free: 28.98 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.334e-05/1.482e-05, allocations: 3.656 kB / 0.6463 GB, free: 28.97 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.0208/0.02082, allocations: 35.65 MB / 0.6811 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0122/0.03302, allocations: 10.95 MB / 0.6918 GB, free: 2.809 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001889/0.03491, allocations: 198.6 kB / 0.692 GB, free: 2.613 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.00461/0.03952, allocations: 4.389 MB / 0.6963 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.003554/0.04308, allocations: 2.408 MB / 0.6987 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002858/0.04593, allocations: 2.193 MB / 0.7008 GB, free: 9.598 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.005732/0.05167, allocations: 9.462 MB / 0.71 GB, free: 112 kB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005129/0.05679, allocations: 6.356 MB / 0.7163 GB, free: 9.629 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004198/0.06099, allocations: 5.781 MB / 0.7219 GB, free: 3.836 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003216/0.06421, allocations: 4.193 MB / 0.726 GB, free: 15.63 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.000578/0.06479, allocations: 0.8242 MB / 0.7268 GB, free: 14.81 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/0.06645, allocations: 1.521 MB / 0.7283 GB, free: 13.29 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001842/0.06829, allocations: 3.371 MB / 0.7316 GB, free: 9.906 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001824/0.07011, allocations: 2.565 MB / 0.7341 GB, free: 7.336 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.008202/0.07831, allocations: 12.56 MB / 0.7463 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.07832, allocations: 0 / 0.7463 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.437e-06/0.07832, allocations: 7.938 kB / 0.7464 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002796/0.0786, allocations: 0 / 0.7464 GB, free: 10.74 MB / 0.5886 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.008711/0.08731, allocations: 6.335 MB / 0.7525 GB, free: 4.344 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.08736, allocations: 8.75 kB / 0.7525 GB, free: 4.336 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007245/0.08808, allocations: 0.8333 MB / 0.7534 GB, free: 3.492 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002505/0.09059, allocations: 1.106 MB / 0.7544 GB, free: 2.383 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003829/0.09442, allocations: 3.563 MB / 0.7579 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.09459, allocations: 423.8 kB / 0.7583 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006024/0.0952, allocations: 0.5549 MB / 0.7589 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009085/0.1043, allocations: 10.28 MB / 0.7689 GB, free: 2.953 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.761e-05/0.1044, allocations: 20 kB / 0.7689 GB, free: 2.934 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003711/0.1047, allocations: 252 kB / 0.7692 GB, free: 2.688 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003353/0.1051, allocations: 418.9 kB / 0.7696 GB, free: 2.277 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007449/0.1125, allocations: 7.12 MB / 0.7765 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02012/0.1326, allocations: 26.21 MB / 0.8021 GB, free: 308 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00298/0.1356, allocations: 2.904 MB / 0.805 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001867/0.1375, allocations: 1.94 MB / 0.8068 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-05/0.1376, allocations: 25.94 kB / 0.8069 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/0.1376, allocations: 60.56 kB / 0.8069 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=209): time 3.918e-06/0.1376, allocations: 0 / 0.8069 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of matching and sorting (n=212): time 0.01463/0.1522, allocations: 10.28 MB / 0.817 GB, free: 1.066 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.1523, allocations: 73.41 kB / 0.817 GB, free: 0.9844 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001705/0.154, allocations: 2.06 MB / 0.819 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.612e-05/0.1541, allocations: 65.7 kB / 0.8191 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009692/0.1551, allocations: 2.467 MB / 0.8215 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004366/0.1555, allocations: 0.763 MB / 0.8223 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004525/0.1559, allocations: 477.5 kB / 0.8227 GB, free: 11.1 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.7e-05/0.156, allocations: 305.1 kB / 0.823 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/0.1573, allocations: 1.368 MB / 0.8243 GB, free: 9.43 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/0.1589, allocations: 2.108 MB / 0.8264 GB, free: 7 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003165/0.162, allocations: 3.762 MB / 0.8301 GB, free: 2.926 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.958e-06/0.162, allocations: 8 kB / 0.8301 GB, free: 2.918 MB / 0.6667 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.004853/0.1669, allocations: 5.031 MB / 0.835 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.1669, allocations: 16 kB / 0.835 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.1669, allocations: 27.98 kB / 0.835 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002096/0.169, allocations: 1.573 MB / 0.8366 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008206/0.1698, allocations: 455.2 kB / 0.837 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/0.1837, allocations: 17.89 MB / 0.8545 GB, free: 9.441 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.1849, allocations: 151.8 kB / 0.8546 GB, free: 9.293 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/0.185, allocations: 112 kB / 0.8547 GB, free: 9.184 MB / 0.698 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.002561/0.1876, allocations: 1.937 MB / 0.8566 GB, free: 7.238 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000266/0.1878, allocations: 310.2 kB / 0.8569 GB, free: 6.934 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004342/0.1922, allocations: 4.404 MB / 0.8612 GB, free: 2.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.1922, allocations: 20 kB / 0.8612 GB, free: 2.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/0.1922, allocations: 24 kB / 0.8613 GB, free: 2.457 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.1922, allocations: 7.969 kB / 0.8613 GB, free: 2.449 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2609/0.4531, allocations: 9.166 MB / 0.8702 GB, free: 192.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/0.4531, allocations: 3.781 kB / 0.8702 GB, free: 192.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005084/0.4536, allocations: 231.6 kB / 0.8704 GB, free: 192.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001921/0.4555, allocations: 1.43 MB / 0.8718 GB, free: 192.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.989e-05/0.4556, allocations: 40.84 kB / 0.8719 GB, free: 192.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01211/0.4677, allocations: 17.91 MB / 0.8894 GB, free: 182 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4677, allocations: 3.719 kB / 0.8894 GB, free: 182 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003674/0.4714, allocations: 4.498 MB / 0.8938 GB, free: 179.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007276/0.4721, allocations: 0.5698 MB / 0.8943 GB, free: 179.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.4723, allocations: 43 kB / 0.8944 GB, free: 179.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006394/0.4729, allocations: 120 kB / 0.8945 GB, free: 179.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002804/0.4732, allocations: 189.5 kB / 0.8947 GB, free: 179.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.998e-05/0.4733, allocations: 63.02 kB / 0.8947 GB, free: 179.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001162/0.4745, allocations: 1.312 MB / 0.896 GB, free: 178.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.4745, allocations: 0 / 0.896 GB, free: 178.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002012/0.4765, allocations: 1.145 MB / 0.8971 GB, free: 178.3 MB / 0.698 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.003825/0.4803, allocations: 5.101 MB / 0.9021 GB, free: 174.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003689/0.484, allocations: 4.537 MB / 0.9065 GB, free: 169.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.484, allocations: 4 kB / 0.9065 GB, free: 169.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002131/0.4861, allocations: 2.798 MB / 0.9093 GB, free: 166.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/0.4879, allocations: 0.8971 MB / 0.9101 GB, free: 166.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02396/0.5119, allocations: 30.64 MB / 0.9401 GB, free: 134.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002081/0.514, allocations: 3.167 MB / 0.9432 GB, free: 131.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009485/0.5149, allocations: 0.5517 MB / 0.9437 GB, free: 130.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/0.516, allocations: 1.949 MB / 0.9456 GB, free: 128.6 MB / 0.698 GB Notification: Performance of SimCode: time 7.12e-07/0.516, allocations: 3.828 kB / 0.9456 GB, free: 128.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09007/0.606, allocations: 90.42 MB / 1.034 GB, free: 39.55 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.024/9.63, allocations: 7.797 kB / 1.034 GB, free: 39.54 MB / 0.698 GB " [Timeout remaining time 650] (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: 12.542007631622255] Failed to read output from testmodel.py, exit status != 0: 9.752463049255311 9.759400167 9.679483535 Calling exit ...