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.001861/0.001861, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.002606/0.002606, allocations: 220 kB / 22.24 MB, free: 5.109 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] 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.002568/0.002568, allocations: 287.8 kB / 312.7 MB, free: 2.625 MB / 238.1 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 1.255/1.255, allocations: 180.6 MB / 0.5369 GB, free: 14.57 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 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,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.002985/0.002985, allocations: 107.5 kB / 0.7395 GB, free: 28.54 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.167, allocations: 95.38 MB / 0.8327 GB, free: 8.492 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01406/0.181, allocations: 9.651 MB / 0.8421 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005953/0.187, allocations: 3.018 MB / 0.845 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000769/0.1878, allocations: 47.62 kB / 0.8451 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002208/0.19, allocations: 0.6904 MB / 0.8457 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.1919, allocations: 0.7234 MB / 0.8465 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001668/0.1936, allocations: 0.6471 MB / 0.8471 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003672/0.1973, allocations: 2.738 MB / 0.8498 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002499/0.1998, allocations: 1.36 MB / 0.8511 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/0.2018, allocations: 1.161 MB / 0.8522 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002483/0.2043, allocations: 1.433 MB / 0.8536 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005907/0.2048, allocations: 216 kB / 0.8538 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/0.2061, allocations: 467.3 kB / 0.8543 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001367/0.2074, allocations: 1.013 MB / 0.8553 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00127/0.2087, allocations: 0.8288 MB / 0.8561 GB, free: 400 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003787/0.2125, allocations: 3.427 MB / 0.8594 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2125, allocations: 0 / 0.8594 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2125, allocations: 4 kB / 0.8594 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.514e-05/0.2125, allocations: 0 / 0.8594 GB, free: 12.95 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.003658/0.2162, allocations: 1.909 MB / 0.8613 GB, free: 11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.2162, allocations: 13.94 kB / 0.8613 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003443/0.2166, allocations: 252.7 kB / 0.8615 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005904/0.2225, allocations: 0.897 MB / 0.8624 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00268/0.2252, allocations: 1.12 MB / 0.8635 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.2253, allocations: 111.3 kB / 0.8636 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002993/0.2256, allocations: 148.3 kB / 0.8638 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005002/0.2306, allocations: 3.096 MB / 0.8668 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.957e-05/0.2306, allocations: 4 kB / 0.8668 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001814/0.2308, allocations: 59.97 kB / 0.8668 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002367/0.231, allocations: 175 kB / 0.867 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004452/0.2355, allocations: 2.604 MB / 0.8696 GB, free: 2.371 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.01619/0.2517, allocations: 9.332 MB / 0.8787 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002146/0.2538, allocations: 1.217 MB / 0.8799 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/0.2554, allocations: 0.9762 MB / 0.8808 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.772e-05/0.2555, allocations: 8.656 kB / 0.8808 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.2555, allocations: 51.16 kB / 0.8809 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 3.356e-06/0.2555, allocations: 0 / 0.8809 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of matching and sorting (n=139): time 0.07889/0.3344, allocations: 18.88 MB / 0.8993 GB, free: 3.613 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.3345, allocations: 68.72 kB / 0.8994 GB, free: 3.531 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/0.3358, allocations: 0.9416 MB / 0.9003 GB, free: 2.578 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.000198/0.336, allocations: 45.7 kB / 0.9003 GB, free: 2.527 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005757/0.3366, allocations: 0.7501 MB / 0.9011 GB, free: 1.766 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005388/0.3371, allocations: 0.5035 MB / 0.9016 GB, free: 1.258 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005809/0.3377, allocations: 287.5 kB / 0.9018 GB, free: 0.9688 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.3379, allocations: 353.9 kB / 0.9022 GB, free: 0.6172 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002067/0.34, allocations: 1.335 MB / 0.9035 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002318/0.3423, allocations: 1.66 MB / 0.9051 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004498/0.3468, allocations: 3.09 MB / 0.9081 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.3468, allocations: 7.938 kB / 0.9081 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01277/0.3595, allocations: 5.557 MB / 0.9135 GB, free: 4.711 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/0.3596, allocations: 12.59 kB / 0.9136 GB, free: 4.699 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.418e-05/0.3596, allocations: 11.98 kB / 0.9136 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009282/0.3689, allocations: 2.721 MB / 0.9162 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008834/0.3698, allocations: 191.7 kB / 0.9164 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04023/0.41, allocations: 25 MB / 0.9408 GB, free: 8.316 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/0.4116, allocations: 91.95 kB / 0.9409 GB, free: 8.227 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/0.4117, allocations: 59.98 kB / 0.941 GB, free: 8.168 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.001333/0.4131, allocations: 0.7343 MB / 0.9417 GB, free: 7.426 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002728/0.4133, allocations: 123.2 kB / 0.9418 GB, free: 7.305 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/0.4254, allocations: 5.31 MB / 0.947 GB, free: 1.961 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.832e-05/0.4255, allocations: 12 kB / 0.947 GB, free: 1.949 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.425e-05/0.4255, allocations: 20 kB / 0.947 GB, free: 1.93 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.271e-05/0.4255, allocations: 7.969 kB / 0.947 GB, free: 1.922 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01788/0.4434, allocations: 8.263 MB / 0.9551 GB, free: 9.531 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.4434, allocations: 4.469 kB / 0.9551 GB, free: 9.527 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004857/0.4439, allocations: 123.8 kB / 0.9552 GB, free: 9.406 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008875/0.4528, allocations: 2.577 MB / 0.9577 GB, free: 6.816 MB / 0.7013 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001864/0.453, allocations: 28 kB / 0.9578 GB, free: 6.789 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3959/0.8488, allocations: 23.45 MB / 0.9807 GB, free: 134.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/0.8489, allocations: 6.406 kB / 0.9807 GB, free: 134.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01189/0.8607, allocations: 5.183 MB / 0.9857 GB, free: 133.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001232/0.862, allocations: 428 kB / 0.9861 GB, free: 133.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002231/0.8622, allocations: 30.05 kB / 0.9862 GB, free: 133.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000935/0.8631, allocations: 73.81 kB / 0.9862 GB, free: 133.7 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004814/0.8636, allocations: 132.8 kB / 0.9864 GB, free: 133.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.243e-05/0.8637, allocations: 34.59 kB / 0.9864 GB, free: 133.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007239/0.8644, allocations: 0.6429 MB / 0.987 GB, free: 133.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8644, allocations: 0 / 0.987 GB, free: 133.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001911/0.8663, allocations: 0.7212 MB / 0.9877 GB, free: 133.6 MB / 0.7169 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.01171/0.8781, allocations: 5.754 MB / 0.9934 GB, free: 131.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006576/0.8846, allocations: 4.092 MB / 0.9973 GB, free: 130.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/0.8846, allocations: 0 / 0.9973 GB, free: 130.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.004701/0.8893, allocations: 2.61 MB / 0.9999 GB, free: 129.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.8906, allocations: 216.9 kB / 1 GB, free: 129 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03033/0.9209, allocations: 21.33 MB / 1.021 GB, free: 115.3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/0.922, allocations: 1.115 MB / 1.022 GB, free: 114.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006663/0.9227, allocations: 322.1 kB / 1.022 GB, free: 113.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005141/0.9232, allocations: 0.5344 MB / 1.023 GB, free: 113.3 MB / 0.7169 GB Notification: Performance of SimCode: time 1.352e-06/0.9232, allocations: 4 kB / 1.023 GB, free: 113.3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08711/1.01, allocations: 55.92 MB / 1.077 GB, free: 57.86 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.84, allocations: 10.95 kB / 1.077 GB, free: 57.86 MB / 0.7169 GB " [Timeout remaining time 646] (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: 18.199890268966556] Failed to read output from testmodel.py, exit status != 0: 13.971128040924668 13.982090813 13.767217124 Calling exit ...