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.001396/0.001396, allocations: 99.64 kB / 18.95 MB, free: 2.836 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.001609/0.001609, allocations: 214.5 kB / 22.24 MB, free: 5.102 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.537/1.537, allocations: 230.6 MB / 256 MB, free: 7.816 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.002587/0.002587, allocations: 284.7 kB / 312.7 MB, free: 2.715 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.223/1.223, allocations: 180.6 MB / 0.5369 GB, free: 14.47 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.002992/0.002992, allocations: 107.1 kB / 0.7395 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1995, allocations: 95.39 MB / 0.8327 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02799/0.2275, allocations: 21.55 MB / 0.8537 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0119/0.2394, allocations: 6.167 MB / 0.8597 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002486/0.2419, allocations: 123.1 kB / 0.8598 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004885/0.2467, allocations: 1.564 MB / 0.8614 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004854/0.2516, allocations: 1.731 MB / 0.8631 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003843/0.2554, allocations: 1.354 MB / 0.8644 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007696/0.2631, allocations: 5.936 MB / 0.8702 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00638/0.2695, allocations: 3.189 MB / 0.8733 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004637/0.2742, allocations: 2.497 MB / 0.8757 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005488/0.2796, allocations: 2.92 MB / 0.8786 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.00147/0.2811, allocations: 456 kB / 0.879 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003284/0.2844, allocations: 1.03 MB / 0.88 GB, free: 7.543 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00358/0.288, allocations: 2.089 MB / 0.8821 GB, free: 5.449 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.004034/0.292, allocations: 1.755 MB / 0.8838 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.009784/0.3018, allocations: 7.351 MB / 0.891 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3018, allocations: 3.938 kB / 0.891 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3018, allocations: 3.938 kB / 0.891 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002257/0.302, allocations: 0 / 0.891 GB, free: 12.3 MB / 0.6387 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.009756/0.3118, allocations: 3.842 MB / 0.8947 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.3118, allocations: 13.34 kB / 0.8947 GB, free: 8.402 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001298/0.3131, allocations: 0.4937 MB / 0.8952 GB, free: 7.898 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006271/0.3194, allocations: 1.227 MB / 0.8964 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005803/0.3252, allocations: 2.308 MB / 0.8987 GB, free: 4.309 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/0.3254, allocations: 242.4 kB / 0.8989 GB, free: 4.07 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007282/0.3261, allocations: 315.9 kB / 0.8992 GB, free: 3.762 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01037/0.3365, allocations: 6.438 MB / 0.9055 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.277e-05/0.3366, allocations: 23.89 kB / 0.9055 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003533/0.337, allocations: 135.9 kB / 0.9056 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000521/0.3375, allocations: 414.2 kB / 0.906 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008193/0.3457, allocations: 4.647 MB / 0.9106 GB, free: 7.797 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.03015/0.3758, allocations: 18.66 MB / 0.9288 GB, free: 4.617 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002313/0.3781, allocations: 1.368 MB / 0.9301 GB, free: 3.242 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002245/0.3804, allocations: 1.441 MB / 0.9315 GB, free: 1.797 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/0.3805, allocations: 13 kB / 0.9315 GB, free: 1.781 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/0.3805, allocations: 47.5 kB / 0.9316 GB, free: 1.727 MB / 0.67 GB Notification: Performance of pre-optimization done (n=110): time 3.266e-06/0.3805, allocations: 0 / 0.9316 GB, free: 1.727 MB / 0.67 GB Notification: Performance of matching and sorting (n=179): time 0.1531/0.5336, allocations: 37.06 MB / 0.9678 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.002e-05/0.5337, allocations: 77.28 kB / 0.9679 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002234/0.5359, allocations: 1.45 MB / 0.9693 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002285/0.5362, allocations: 53.7 kB / 0.9693 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001279/0.5374, allocations: 1.586 MB / 0.9709 GB, free: 9.41 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007715/0.5382, allocations: 0.6429 MB / 0.9715 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008313/0.539, allocations: 379.5 kB / 0.9719 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.5392, allocations: 305.1 kB / 0.9722 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00296/0.5421, allocations: 1.78 MB / 0.9739 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003479/0.5456, allocations: 2.354 MB / 0.9762 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3531/0.8988, allocations: 4.388 MB / 0.9805 GB, free: 132.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.537e-05/0.8988, allocations: 5.656 kB / 0.9805 GB, free: 132.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01793/0.9167, allocations: 8.427 MB / 0.9887 GB, free: 130.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.9167, allocations: 11.56 kB / 0.9887 GB, free: 130.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/0.9168, allocations: 22.09 kB / 0.9887 GB, free: 130.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0147/0.9315, allocations: 4.614 MB / 0.9933 GB, free: 130 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.9327, allocations: 308.1 kB / 0.9935 GB, free: 130 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03868/0.9714, allocations: 31.59 MB / 1.024 GB, free: 109.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/0.9734, allocations: 147.8 kB / 1.025 GB, free: 109.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001806/0.9736, 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.001655/0.9752, allocations: 1.323 MB / 1.026 GB, free: 107.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003088/0.9755, allocations: 216.9 kB / 1.026 GB, free: 107.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01459/0.9901, allocations: 8.289 MB / 1.034 GB, free: 99.36 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.9901, allocations: 20.22 kB / 1.034 GB, free: 99.34 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.465e-05/0.9902, allocations: 24 kB / 1.034 GB, free: 99.32 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.728e-05/0.9902, allocations: 11.91 kB / 1.034 GB, free: 99.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02028/1.01, allocations: 12.21 MB / 1.046 GB, free: 86.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/1.01, allocations: 4 kB / 1.046 GB, free: 86.96 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000616/1.011, allocations: 167.7 kB / 1.046 GB, free: 86.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01244/1.024, allocations: 4.456 MB / 1.051 GB, free: 82.33 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001923/1.024, allocations: 44 kB / 1.051 GB, free: 82.29 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0366/1.06, allocations: 31.21 MB / 1.081 GB, free: 50.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/1.06, allocations: 11.94 kB / 1.081 GB, free: 50.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01429/1.075, allocations: 8.104 MB / 1.089 GB, free: 42.18 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001584/1.076, allocations: 0.5566 MB / 1.09 GB, free: 41.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003017/1.077, allocations: 36 kB / 1.09 GB, free: 41.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/1.078, allocations: 135.8 kB / 1.09 GB, free: 41.46 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006302/1.079, allocations: 180.8 kB / 1.09 GB, free: 41.28 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/1.079, allocations: 48 kB / 1.09 GB, free: 41.23 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009766/1.08, allocations: 0.9627 MB / 1.091 GB, free: 40.28 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/1.08, allocations: 0 / 1.091 GB, free: 40.28 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002586/1.082, allocations: 1.117 MB / 1.092 GB, free: 39.16 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.01434/1.097, allocations: 8.687 MB / 1.101 GB, free: 30.34 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01136/1.108, allocations: 6.322 MB / 1.107 GB, free: 23.96 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.755e-05/1.108, allocations: 0 / 1.107 GB, free: 23.96 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.008281/1.116, allocations: 4.185 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.002416/1.119, allocations: 0.5348 MB / 1.111 GB, free: 19.21 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05655/1.175, 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.003056/1.178, allocations: 2.17 MB / 1.146 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001126/1.179, 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.00154/1.181, allocations: 1.222 MB / 1.148 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of SimCode: time 9.32e-07/1.181, allocations: 0 / 1.148 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1635/1.344, allocations: 89.94 MB / 1.236 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/14.95, allocations: 3.984 kB / 1.236 GB, free: 3.711 MB / 0.8262 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.42127341264859] Failed to read output from testmodel.py, exit status != 0: 15.108922485727817 15.136374651 14.829348946 Calling exit ...