Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.001303/0.001303, allocations: 104.4 kB / 16.45 MB, free: 6.449 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.00135/0.00135, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.375/1.375, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.002469/0.002469, allocations: 296.3 kB / 309.1 MB, free: 3.98 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.156/1.156, allocations: 180.9 MB / 0.5333 GB, free: 13.82 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,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.002819/0.002819, allocations: 109.4 kB / 0.7343 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1509, allocations: 95.34 MB / 0.8274 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01251/0.1634, allocations: 10.17 MB / 0.8373 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005271/0.1687, allocations: 3.119 MB / 0.8403 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000448/0.1692, allocations: 51.62 kB / 0.8404 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001773/0.1709, allocations: 0.6949 MB / 0.8411 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001388/0.1723, allocations: 0.7312 MB / 0.8418 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.1736, allocations: 0.6316 MB / 0.8424 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002844/0.1765, allocations: 2.734 MB / 0.8451 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00224/0.1787, allocations: 1.898 MB / 0.8469 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001591/0.1803, allocations: 1.153 MB / 0.8481 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001954/0.1822, allocations: 1.496 MB / 0.8495 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003272/0.1826, allocations: 216 kB / 0.8497 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009333/0.1835, allocations: 0.4954 MB / 0.8502 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00102/0.1845, allocations: 1.005 MB / 0.8512 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001063/0.1856, allocations: 1.015 MB / 0.8522 GB, free: 376 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003364/0.189, allocations: 3.419 MB / 0.8555 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.189, allocations: 0 / 0.8555 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.442e-06/0.189, allocations: 0 / 0.8555 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.195e-05/0.189, allocations: 4 kB / 0.8555 GB, free: 12.93 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003551/0.1926, allocations: 1.984 MB / 0.8575 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1926, allocations: 12.03 kB / 0.8575 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003312/0.1929, allocations: 248.7 kB / 0.8577 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005807/0.1987, allocations: 0.8969 MB / 0.8586 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0021/0.2008, allocations: 1.173 MB / 0.8597 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.878e-05/0.2009, allocations: 111.3 kB / 0.8598 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003014/0.2012, allocations: 144.3 kB / 0.86 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004642/0.2059, allocations: 3.021 MB / 0.8629 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/0.2059, allocations: 8 kB / 0.8629 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001885/0.2061, allocations: 55.98 kB / 0.863 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002189/0.2063, allocations: 179 kB / 0.8632 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004006/0.2103, allocations: 2.608 MB / 0.8657 GB, free: 2.289 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01596/0.2263, allocations: 13.51 MB / 0.8789 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/0.2282, allocations: 1.217 MB / 0.8801 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/0.2296, allocations: 0.9805 MB / 0.881 GB, free: 1.473 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.321e-05/0.2297, allocations: 12.64 kB / 0.881 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.2297, allocations: 43.22 kB / 0.8811 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 2.264e-06/0.2297, allocations: 0 / 0.8811 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of matching and sorting (n=139): time 0.07563/0.3053, allocations: 19.34 MB / 0.9 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.3054, allocations: 68.66 kB / 0.9 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.3066, allocations: 0.9184 MB / 0.9009 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001452/0.3068, allocations: 49.7 kB / 0.901 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005341/0.3073, allocations: 0.7501 MB / 0.9017 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004997/0.3078, allocations: 0.4996 MB / 0.9022 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005811/0.3084, allocations: 287.5 kB / 0.9025 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3086, allocations: 353.9 kB / 0.9028 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001936/0.3105, allocations: 1.343 MB / 0.9041 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002186/0.3127, allocations: 1.651 MB / 0.9057 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004203/0.3169, allocations: 3.088 MB / 0.9088 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.3169, allocations: 4 kB / 0.9088 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01201/0.3289, allocations: 5.561 MB / 0.9142 GB, free: 15.05 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.3289, allocations: 11.94 kB / 0.9142 GB, free: 15.04 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.329, allocations: 12.06 kB / 0.9142 GB, free: 15.03 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009105/0.3381, allocations: 2.714 MB / 0.9169 GB, free: 12.31 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008192/0.3389, allocations: 195.7 kB / 0.9171 GB, free: 12.12 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03767/0.3765, allocations: 25.74 MB / 0.9422 GB, free: 1.816 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.378, allocations: 95.95 kB / 0.9423 GB, free: 1.723 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/0.3782, allocations: 60.48 kB / 0.9423 GB, free: 1.664 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 95 * 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 {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001109/0.3793, allocations: 0.7283 MB / 0.943 GB, free: 0.9258 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000242/0.3795, allocations: 131.2 kB / 0.9432 GB, free: 0.7969 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01199/0.3915, allocations: 5.302 MB / 0.9483 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/0.3916, allocations: 12 kB / 0.9484 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.274e-05/0.3916, allocations: 24 kB / 0.9484 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.959e-05/0.3916, allocations: 15.91 kB / 0.9484 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01665/0.4083, allocations: 8.619 MB / 0.9568 GB, free: 2.672 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.4083, allocations: 4 kB / 0.9568 GB, free: 2.668 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004523/0.4087, allocations: 119.8 kB / 0.9569 GB, free: 2.551 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008715/0.4175, allocations: 2.585 MB / 0.9595 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001301/0.4176, allocations: 28 kB / 0.9595 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03503/0.4526, allocations: 24.18 MB / 0.9831 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.4526, allocations: 4 kB / 0.9831 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/0.4638, allocations: 5.171 MB / 0.9882 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009278/0.4647, allocations: 492.2 kB / 0.9886 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001903/0.4649, allocations: 32 kB / 0.9887 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009281/0.4658, allocations: 75.91 kB / 0.9887 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005154/0.4663, allocations: 124.9 kB / 0.9888 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.4664, allocations: 36 kB / 0.9889 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008496/0.4673, allocations: 0.6473 MB / 0.9895 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.4673, allocations: 4 kB / 0.9895 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.3253/0.7926, allocations: 0.7195 MB / 0.9902 GB, free: 151.3 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 (62): * Single equations (assignments): 58 * 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 {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01178/0.8044, allocations: 5.752 MB / 0.9958 GB, free: 150.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006493/0.8109, allocations: 4.086 MB / 0.9998 GB, free: 149.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.8109, allocations: 0.8438 kB / 0.9998 GB, free: 149.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005312/0.8162, allocations: 2.601 MB / 1.002 GB, free: 148.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.8176, allocations: 226.7 kB / 1.003 GB, free: 148.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03248/0.85, allocations: 21.3 MB / 1.023 GB, free: 140 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/0.8512, allocations: 1.703 MB / 1.025 GB, free: 138.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007567/0.852, allocations: 325.8 kB / 1.025 GB, free: 138.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005258/0.8525, allocations: 0.5305 MB / 1.026 GB, free: 138.1 MB / 0.7325 GB Notification: Performance of SimCode: time 2.144e-06/0.8525, allocations: 0 / 1.026 GB, free: 138.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07918/0.9317, allocations: 53.13 MB / 1.078 GB, free: 85.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/12.24, allocations: 10.72 kB / 1.078 GB, free: 85.43 MB / 0.7325 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.167755588889122] Failed to read output from testmodel.py, exit status != 0: 12.339248615782708 12.348731801 12.157743005 Calling exit ...