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.001235/0.001235, allocations: 106.3 kB / 16.45 MB, free: 6.453 MB / 14.72 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.001342/0.001342, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 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 1.356/1.356, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002455/0.002455, allocations: 279.7 kB / 309.1 MB, free: 3.957 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.145/1.145, allocations: 180.9 MB / 0.5333 GB, free: 13.8 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002715/0.002715, allocations: 103.7 kB / 0.7343 GB, free: 28.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1591, allocations: 95.35 MB / 0.8274 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01389/0.173, allocations: 10.22 MB / 0.8374 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005464/0.1784, allocations: 3.263 MB / 0.8405 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004538/0.1789, allocations: 47.62 kB / 0.8406 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001629/0.1805, allocations: 0.6023 MB / 0.8412 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001514/0.182, allocations: 0.7779 MB / 0.8419 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.1836, allocations: 0.7395 MB / 0.8427 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003135/0.1867, allocations: 2.996 MB / 0.8456 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002404/0.1891, allocations: 1.95 MB / 0.8475 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001619/0.1907, allocations: 1.289 MB / 0.8487 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001983/0.1927, allocations: 1.702 MB / 0.8504 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003134/0.193, allocations: 236 kB / 0.8506 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008835/0.1939, allocations: 0.5111 MB / 0.8511 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009729/0.1949, allocations: 1.095 MB / 0.8522 GB, free: 332 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001072/0.1959, allocations: 1.109 MB / 0.8533 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003373/0.1993, allocations: 3.703 MB / 0.8569 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1993, allocations: 0 / 0.8569 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1993, allocations: 0 / 0.8569 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.44e-05/0.1993, allocations: 0 / 0.8569 GB, free: 11.49 MB / 0.6075 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.003724/0.2031, allocations: 2.187 MB / 0.859 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.2031, allocations: 8.625 kB / 0.859 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003517/0.2035, allocations: 261.2 kB / 0.8593 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008854/0.2123, allocations: 1.33 MB / 0.8606 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002187/0.2145, allocations: 1.302 MB / 0.8619 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.2146, allocations: 119.3 kB / 0.862 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002985/0.2149, allocations: 144.3 kB / 0.8621 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005076/0.22, allocations: 3.444 MB / 0.8655 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.561e-05/0.22, allocations: 7.953 kB / 0.8655 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002146/0.2202, allocations: 67.95 kB / 0.8656 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002597/0.2205, allocations: 203.1 kB / 0.8657 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004928/0.2254, allocations: 3.127 MB / 0.8688 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01766/0.2431, allocations: 13.55 MB / 0.882 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002591/0.2457, allocations: 1.614 MB / 0.8836 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001968/0.2476, allocations: 1.331 MB / 0.8849 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.2477, allocations: 9 kB / 0.8849 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.2478, allocations: 43.56 kB / 0.885 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=104): time 2.675e-06/0.2478, allocations: 4 kB / 0.885 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of matching and sorting (n=183): time 0.1541/0.4019, allocations: 36.56 MB / 0.9207 GB, free: 8.941 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/0.402, allocations: 77.39 kB / 0.9207 GB, free: 8.855 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/0.4036, allocations: 1.054 MB / 0.9218 GB, free: 7.777 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002845/0.4039, allocations: 57.7 kB / 0.9218 GB, free: 7.715 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006528/0.4045, allocations: 0.8053 MB / 0.9226 GB, free: 6.902 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008069/0.4053, allocations: 0.6546 MB / 0.9233 GB, free: 6.242 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009042/0.4062, allocations: 363.5 kB / 0.9236 GB, free: 5.879 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.4064, allocations: 313 kB / 0.9239 GB, free: 5.57 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003013/0.4094, allocations: 1.928 MB / 0.9258 GB, free: 3.641 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003244/0.4126, allocations: 2.281 MB / 0.928 GB, free: 1.234 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006458/0.4191, allocations: 4.392 MB / 0.9323 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.4191, allocations: 4 kB / 0.9323 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02143/0.4405, allocations: 8.886 MB / 0.941 GB, free: 3.797 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.4406, allocations: 9.719 kB / 0.941 GB, free: 3.789 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.4406, allocations: 8 kB / 0.941 GB, free: 3.781 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01801/0.4586, allocations: 4.973 MB / 0.9459 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009179/0.4595, allocations: 195.6 kB / 0.946 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06143/0.5209, allocations: 38.94 MB / 0.9841 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/0.5229, allocations: 103.9 kB / 0.9842 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001808/0.5231, allocations: 63.98 kB / 0.9842 GB, free: 6.93 MB / 0.7325 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.001372/0.5245, allocations: 0.8057 MB / 0.985 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003261/0.5248, allocations: 147.1 kB / 0.9851 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3179/0.8427, allocations: 8.732 MB / 0.9937 GB, free: 150.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.081e-05/0.8427, allocations: 17.53 kB / 0.9937 GB, free: 150.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.817e-05/0.8428, allocations: 30.27 kB / 0.9937 GB, free: 150.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.731e-05/0.8428, allocations: 11.7 kB / 0.9937 GB, free: 150.2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.025/0.8678, allocations: 13.26 MB / 1.007 GB, free: 147.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/0.8678, allocations: 4.562 kB / 1.007 GB, free: 147.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004471/0.8683, allocations: 119.7 kB / 1.007 GB, free: 147.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01533/0.8836, allocations: 4.84 MB / 1.012 GB, free: 146.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001899/0.8838, allocations: 39.06 kB / 1.012 GB, free: 146.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04213/0.9259, allocations: 36.86 MB / 1.048 GB, free: 117.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.9259, allocations: 7.938 kB / 1.048 GB, free: 117.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01646/0.9424, allocations: 8.448 MB / 1.056 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/0.9435, allocations: 0.6424 MB / 1.056 GB, free: 108.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002432/0.9437, allocations: 39.94 kB / 1.056 GB, free: 108.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.945, allocations: 99.81 kB / 1.057 GB, free: 108.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007401/0.9457, allocations: 156.3 kB / 1.057 GB, free: 108.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000134/0.9459, allocations: 52.81 kB / 1.057 GB, free: 108.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007215/0.9466, allocations: 0.7382 MB / 1.057 GB, free: 107.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.9466, allocations: 0 / 1.057 GB, free: 107.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002466/0.9491, allocations: 1.008 MB / 1.058 GB, free: 106.4 MB / 0.7325 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.0168/0.9659, allocations: 9.039 MB / 1.067 GB, free: 97.28 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0079/0.9738, allocations: 5.735 MB / 1.073 GB, free: 91.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.9738, allocations: 0 / 1.073 GB, free: 91.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006585/0.9804, allocations: 3.771 MB / 1.077 GB, free: 87.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.9817, allocations: 256.1 kB / 1.077 GB, free: 87.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04776/1.029, allocations: 30.77 MB / 1.107 GB, free: 56.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001149/1.031, allocations: 1.863 MB / 1.109 GB, free: 54.29 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006673/1.031, allocations: 363.7 kB / 1.109 GB, free: 53.94 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005243/1.032, allocations: 0.6086 MB / 1.11 GB, free: 53.33 MB / 0.7325 GB Notification: Performance of SimCode: time 9.92e-07/1.032, allocations: 0 / 1.11 GB, free: 53.33 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1111/1.143, allocations: 76.75 MB / 1.185 GB, free: 8.973 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/13.09, allocations: 8.438 kB / 1.185 GB, free: 8.969 MB / 0.7637 GB " [Timeout remaining time 647] (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: 17.015332274138927] Failed to read output from testmodel.py, exit status != 0: 13.197024605702609 13.209777986 13.007792143 Calling exit ...