Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.001485/0.001485, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001949/0.001949, allocations: 211.8 kB / 22.24 MB, free: 5.262 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.505/1.505, 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.00258/0.00258, allocations: 278.9 kB / 312.7 MB, free: 2.621 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.229/1.229, allocations: 180.6 MB / 0.5369 GB, free: 14.5 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_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.002975/0.002975, allocations: 108 kB / 0.7395 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1789, allocations: 95.38 MB / 0.8327 GB, free: 8.348 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02769/0.2066, allocations: 21.55 MB / 0.8537 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01226/0.2189, allocations: 6.179 MB / 0.8597 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001704/0.2206, allocations: 123.1 kB / 0.8599 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004151/0.2247, allocations: 1.561 MB / 0.8614 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004177/0.2289, allocations: 1.731 MB / 0.8631 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003778/0.2327, allocations: 1.354 MB / 0.8644 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00752/0.2402, allocations: 5.936 MB / 0.8702 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005172/0.2454, allocations: 3.182 MB / 0.8733 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003947/0.2493, allocations: 2.5 MB / 0.8757 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004738/0.2541, allocations: 2.924 MB / 0.8786 GB, free: 9.09 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001052/0.2551, allocations: 456 kB / 0.879 GB, free: 8.645 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002526/0.2577, allocations: 1.034 MB / 0.88 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.002472/0.2601, allocations: 2.081 MB / 0.8821 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002844/0.263, allocations: 1.755 MB / 0.8838 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.008374/0.2714, allocations: 7.351 MB / 0.891 GB, free: 12.38 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2714, allocations: 0 / 0.891 GB, free: 12.38 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2714, allocations: 0 / 0.891 GB, free: 12.38 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0001333/0.2715, allocations: 0 / 0.891 GB, free: 12.38 MB / 0.6388 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.007704/0.2792, allocations: 3.845 MB / 0.8947 GB, free: 8.492 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.2792, allocations: 17.92 kB / 0.8947 GB, free: 8.477 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007887/0.28, allocations: 0.5015 MB / 0.8952 GB, free: 7.965 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006107/0.2861, allocations: 1.223 MB / 0.8964 GB, free: 6.738 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005908/0.2921, allocations: 2.308 MB / 0.8987 GB, free: 4.379 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002179/0.2923, allocations: 238.4 kB / 0.8989 GB, free: 4.145 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007345/0.293, allocations: 315.9 kB / 0.8992 GB, free: 3.836 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01291/0.3059, allocations: 6.438 MB / 0.9055 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.219e-05/0.306, allocations: 23.83 kB / 0.9055 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003893/0.3064, allocations: 136 kB / 0.9056 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005264/0.3069, allocations: 410.3 kB / 0.906 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008652/0.3156, allocations: 4.654 MB / 0.9106 GB, free: 7.867 MB / 0.6544 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.03083/0.3464, allocations: 18.66 MB / 0.9288 GB, free: 4.688 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002295/0.3487, allocations: 1.365 MB / 0.9301 GB, free: 3.312 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002179/0.3509, allocations: 1.44 MB / 0.9315 GB, free: 1.867 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/0.351, allocations: 13 kB / 0.9316 GB, free: 1.852 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.791e-05/0.3511, allocations: 51.5 kB / 0.9316 GB, free: 1.793 MB / 0.67 GB Notification: Performance of pre-optimization done (n=110): time 3.316e-06/0.3511, allocations: 0 / 0.9316 GB, free: 1.793 MB / 0.67 GB Notification: Performance of matching and sorting (n=179): time 0.1519/0.503, allocations: 37.06 MB / 0.9678 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.423e-05/0.503, allocations: 73.34 kB / 0.9679 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002358/0.5054, allocations: 1.458 MB / 0.9693 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003301/0.5057, allocations: 53.7 kB / 0.9693 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001268/0.507, allocations: 1.586 MB / 0.9709 GB, free: 9.477 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008061/0.5078, allocations: 0.639 MB / 0.9715 GB, free: 8.832 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008764/0.5087, allocations: 379.5 kB / 0.9719 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5088, allocations: 305.1 kB / 0.9722 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002758/0.5115, allocations: 1.784 MB / 0.9739 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003255/0.5148, allocations: 2.35 MB / 0.9762 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3331/0.8479, allocations: 4.387 MB / 0.9805 GB, free: 131.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.907e-05/0.848, allocations: 4.875 kB / 0.9805 GB, free: 131.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.0186/0.8666, allocations: 8.429 MB / 0.9887 GB, free: 130.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.8666, allocations: 15.94 kB / 0.9887 GB, free: 130.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.353e-05/0.8666, allocations: 22.62 kB / 0.9888 GB, free: 130.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01531/0.8819, allocations: 4.615 MB / 0.9933 GB, free: 129.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.8832, allocations: 296.9 kB / 0.9935 GB, free: 129.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03926/0.9225, allocations: 31.6 MB / 1.024 GB, free: 109.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/0.9246, allocations: 147.8 kB / 1.025 GB, free: 109.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/0.9247, allocations: 84 kB / 1.025 GB, free: 109.2 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001706/0.9264, allocations: 1.333 MB / 1.026 GB, free: 107.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000364/0.9268, allocations: 208.9 kB / 1.026 GB, free: 107.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01481/0.9416, allocations: 8.296 MB / 1.034 GB, free: 99.36 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/0.9416, allocations: 16 kB / 1.034 GB, free: 99.34 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.936e-05/0.9417, allocations: 24.5 kB / 1.034 GB, free: 99.32 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.698e-05/0.9417, allocations: 7.969 kB / 1.034 GB, free: 99.31 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02032/0.962, allocations: 12.21 MB / 1.046 GB, free: 86.97 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-05/0.9621, allocations: 4 kB / 1.046 GB, free: 86.96 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006895/0.9627, allocations: 165.5 kB / 1.046 GB, free: 86.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01305/0.9758, allocations: 4.478 MB / 1.051 GB, free: 82.32 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002975/0.9761, allocations: 32 kB / 1.051 GB, free: 82.29 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03824/1.014, allocations: 31.2 MB / 1.081 GB, free: 50.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.014, allocations: 11.94 kB / 1.081 GB, free: 50.41 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01495/1.029, allocations: 8.105 MB / 1.089 GB, free: 42.19 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001748/1.031, allocations: 0.5531 MB / 1.09 GB, free: 41.63 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005204/1.032, allocations: 43.94 kB / 1.09 GB, free: 41.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001631/1.033, allocations: 131.8 kB / 1.09 GB, free: 41.46 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000705/1.034, allocations: 177.9 kB / 1.09 GB, free: 41.29 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001523/1.034, allocations: 52 kB / 1.09 GB, free: 41.24 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001198/1.035, allocations: 0.9627 MB / 1.091 GB, free: 40.28 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/1.035, allocations: 0 / 1.091 GB, free: 40.28 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003/1.038, allocations: 1.113 MB / 1.092 GB, free: 39.17 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0145/1.053, allocations: 8.688 MB / 1.101 GB, free: 30.34 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01064/1.063, allocations: 6.33 MB / 1.107 GB, free: 23.96 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/1.063, allocations: 0 / 1.107 GB, free: 23.96 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.008004/1.071, allocations: 4.184 MB / 1.111 GB, free: 19.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002794/1.074, allocations: 0.5303 MB / 1.111 GB, free: 19.22 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05794/1.132, allocations: 33.53 MB / 1.144 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004282/1.136, allocations: 2.17 MB / 1.146 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001264/1.138, allocations: 388.5 kB / 1.147 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001823/1.14, allocations: 1.218 MB / 1.148 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of SimCode: time 1.693e-06/1.14, allocations: 0 / 1.148 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1722/1.312, allocations: 89.94 MB / 1.236 GB, free: 3.707 MB / 0.8263 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.17/15.48, allocations: 0 / 1.236 GB, free: 3.707 MB / 0.8263 GB " [Timeout remaining time 644] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.854851697105914] Failed to read output from testmodel.py, exit status != 0: 15.630703541915864 15.655293759 15.379117844 Calling exit ...