Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.0007943/0.0007943, 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.0008474/0.0008474, 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.8803/0.8803, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.001574/0.001574, allocations: 234.3 kB / 259.4 MB, free: 13.01 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.6492/0.6492, allocations: 138.4 MB / 454.3 MB, free: 1.656 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.ACLineMatrix_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.6463 GB, free: 29.05 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/1.995e-05, allocations: 8.25 kB / 0.6463 GB, free: 29.04 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.0095/0.00952, allocations: 9.463 MB / 0.6556 GB, free: 22.07 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.004937/0.01446, allocations: 3.127 MB / 0.6586 GB, free: 19.66 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005201/0.01498, allocations: 45.69 kB / 0.6587 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0008814/0.01586, allocations: 0.6108 MB / 0.6593 GB, free: 19.16 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0009557/0.01681, allocations: 0.8024 MB / 0.66 GB, free: 18.52 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000964/0.01778, allocations: 0.7415 MB / 0.6608 GB, free: 17.96 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001924/0.0197, allocations: 3.043 MB / 0.6637 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.0208, allocations: 1.427 MB / 0.6651 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001294/0.0221, allocations: 1.731 MB / 0.6668 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.02316, allocations: 1.567 MB / 0.6683 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001676/0.02333, allocations: 236 kB / 0.6686 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005646/0.02389, allocations: 491.2 kB / 0.669 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.000438/0.02433, allocations: 1.15 MB / 0.6702 GB, free: 9.164 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004134/0.02474, allocations: 0.7797 MB / 0.6709 GB, free: 8.383 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001603/0.02635, allocations: 3.791 MB / 0.6746 GB, free: 4.582 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.02635, allocations: 4 kB / 0.6746 GB, free: 4.578 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.513e-06/0.02635, allocations: 0 / 0.6746 GB, free: 4.578 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.749e-05/0.02638, allocations: 4 kB / 0.6746 GB, free: 4.574 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.001917/0.0283, allocations: 2.099 MB / 0.6767 GB, free: 2.434 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.02834, allocations: 12.73 kB / 0.6767 GB, free: 2.422 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001817/0.02852, allocations: 261.2 kB / 0.6769 GB, free: 2.156 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003962/0.03248, allocations: 1.357 MB / 0.6783 GB, free: 0.7969 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.03392, allocations: 1.265 MB / 0.6795 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.521e-05/0.03398, allocations: 119.4 kB / 0.6796 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/0.03417, allocations: 144.3 kB / 0.6798 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003341/0.03752, allocations: 3.514 MB / 0.6832 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.03754, allocations: 4.141 kB / 0.6832 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/0.03768, allocations: 72.08 kB / 0.6833 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001536/0.03784, allocations: 203.1 kB / 0.6835 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003199/0.04104, allocations: 3.116 MB / 0.6865 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009487/0.05052, allocations: 10.07 MB / 0.6963 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.05213, allocations: 1.604 MB / 0.6979 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001282/0.05341, allocations: 1.331 MB / 0.6992 GB, free: 11 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 6.794e-05/0.05348, allocations: 16.98 kB / 0.6992 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.0535, allocations: 51.55 kB / 0.6993 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=104): time 2.795e-06/0.0535, allocations: 0 / 0.6993 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of matching and sorting (n=183): time 0.07155/0.1251, allocations: 36.19 MB / 0.7346 GB, free: 6.691 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.1251, allocations: 69.41 kB / 0.7347 GB, free: 6.613 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009915/0.1261, allocations: 1.073 MB / 0.7357 GB, free: 5.516 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001241/0.1262, allocations: 53.7 kB / 0.7358 GB, free: 5.457 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003446/0.1266, allocations: 0.8092 MB / 0.7366 GB, free: 4.641 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003607/0.1269, allocations: 0.6429 MB / 0.7372 GB, free: 3.992 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004589/0.1274, allocations: 363.5 kB / 0.7375 GB, free: 3.629 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.221e-05/0.1274, allocations: 301.1 kB / 0.7378 GB, free: 3.332 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001889/0.1293, allocations: 1.928 MB / 0.7397 GB, free: 1.402 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001981/0.1313, allocations: 2.285 MB / 0.7419 GB, free: 14.99 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003967/0.1353, allocations: 4.393 MB / 0.7462 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.1353, allocations: 4 kB / 0.7462 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01184/0.1471, allocations: 8.872 MB / 0.7549 GB, free: 1.566 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/0.1472, allocations: 10.22 kB / 0.7549 GB, free: 1.559 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.1472, allocations: 8 kB / 0.7549 GB, free: 1.551 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009231/0.1564, allocations: 4.977 MB / 0.7598 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007835/0.1572, allocations: 191.7 kB / 0.76 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03518/0.1924, allocations: 37.99 MB / 0.7971 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.1938, allocations: 99.89 kB / 0.7971 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.1939, allocations: 68 kB / 0.7972 GB, free: 5.75 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009713/0.1948, allocations: 0.8134 MB / 0.798 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.195, allocations: 147.1 kB / 0.7981 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/0.2065, allocations: 8.734 MB / 0.8067 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.2065, allocations: 20 kB / 0.8067 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-05/0.2066, allocations: 28 kB / 0.8067 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.12e-05/0.2066, allocations: 7.969 kB / 0.8067 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01571/0.2223, allocations: 12.66 MB / 0.8191 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.2223, allocations: 4.469 kB / 0.8191 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002636/0.2226, allocations: 123.8 kB / 0.8192 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009106/0.2317, allocations: 4.814 MB / 0.8239 GB, free: 10.22 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001951/0.2319, allocations: 47.97 kB / 0.824 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03453/0.2664, allocations: 35.9 MB / 0.859 GB, free: 5.789 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.2664, allocations: 8 kB / 0.859 GB, free: 5.781 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2429/0.5093, allocations: 8.444 MB / 0.8673 GB, free: 197.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/0.5104, allocations: 0.5749 MB / 0.8678 GB, free: 197.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/0.5106, allocations: 48.05 kB / 0.8679 GB, free: 197.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006645/0.5112, allocations: 91.7 kB / 0.868 GB, free: 197.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006347/0.5119, allocations: 172.3 kB / 0.8681 GB, free: 197.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/0.512, allocations: 51.62 kB / 0.8682 GB, free: 197.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008383/0.5128, allocations: 0.7334 MB / 0.8689 GB, free: 197.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.71e-07/0.5128, allocations: 0.5 kB / 0.8689 GB, free: 197.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002282/0.5151, allocations: 1.006 MB / 0.8699 GB, free: 197.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01064/0.5258, allocations: 9.03 MB / 0.8787 GB, free: 196.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006109/0.5319, allocations: 5.735 MB / 0.8843 GB, free: 194.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.5319, allocations: 1.094 kB / 0.8843 GB, free: 194.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003964/0.5358, allocations: 3.759 MB / 0.888 GB, free: 192.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.5368, allocations: 239.8 kB / 0.8882 GB, free: 192.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03122/0.5681, allocations: 30.9 MB / 0.9184 GB, free: 167.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009166/0.569, allocations: 1.275 MB / 0.9196 GB, free: 166.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004896/0.5695, allocations: 356.2 kB / 0.92 GB, free: 165.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003895/0.5699, allocations: 0.616 MB / 0.9206 GB, free: 165.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.272e-06/0.5699, allocations: 4 kB / 0.9206 GB, free: 165.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07133/0.6412, allocations: 80.85 MB / 0.9995 GB, free: 84.48 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.102/8.743, allocations: 6.438 kB / 0.9995 GB, free: 84.48 MB / 0.698 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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_RLC_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.537889368832111] Failed to read output from testmodel.py, exit status != 0: 8.849036117084324 8.85489355 8.826974573 Calling exit ...