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.0007723/0.0007723, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.00078/0.00078, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8842/0.8842, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.001393/0.001393, allocations: 232 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.669/0.669, allocations: 138.4 MB / 454.3 MB, free: 30.02 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.13e-05, allocations: 4.672 kB / 0.6463 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.2365/0.2365, allocations: 21.13 MB / 0.6669 GB, free: 45.09 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.006704/0.2432, allocations: 6.108 MB / 0.6729 GB, free: 41.09 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006511/0.2439, allocations: 131.1 kB / 0.673 GB, free: 41.03 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001624/0.2455, allocations: 1.571 MB / 0.6746 GB, free: 40.14 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.2471, allocations: 1.762 MB / 0.6763 GB, free: 39.11 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.2488, allocations: 1.359 MB / 0.6776 GB, free: 38.36 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003102/0.2519, allocations: 6.047 MB / 0.6835 GB, free: 35.64 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00288/0.2547, allocations: 3.216 MB / 0.6867 GB, free: 34.04 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00277/0.2575, allocations: 3.439 MB / 0.69 GB, free: 32.41 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002301/0.2598, allocations: 2.773 MB / 0.6927 GB, free: 31.52 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.00037/0.2602, allocations: 461.9 kB / 0.6932 GB, free: 31.52 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.2614, allocations: 1.048 MB / 0.6942 GB, free: 31.3 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.001278/0.2627, allocations: 2.196 MB / 0.6963 GB, free: 30.33 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.2638, allocations: 1.498 MB / 0.6978 GB, free: 29.62 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003603/0.2674, allocations: 7.431 MB / 0.7051 GB, free: 24.89 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2674, allocations: 3.938 kB / 0.7051 GB, free: 24.89 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2674, allocations: 0 / 0.7051 GB, free: 24.89 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.518e-05/0.2674, allocations: 1.594 kB / 0.7051 GB, free: 24.89 MB / 0.5573 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.003493/0.2709, allocations: 3.799 MB / 0.7088 GB, free: 22.27 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 2.798e-05/0.271, allocations: 11.19 kB / 0.7088 GB, free: 22.27 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003988/0.2714, allocations: 0.5003 MB / 0.7093 GB, free: 21.91 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003023/0.2744, allocations: 1.243 MB / 0.7105 GB, free: 21.28 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002581/0.277, allocations: 2.296 MB / 0.7127 GB, free: 19.84 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.2771, allocations: 243.6 kB / 0.713 GB, free: 19.73 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003702/0.2775, allocations: 310.2 kB / 0.7133 GB, free: 19.62 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005895/0.2834, allocations: 6.441 MB / 0.7195 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.121e-05/0.2834, allocations: 18.38 kB / 0.7196 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002451/0.2837, allocations: 145.3 kB / 0.7197 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002887/0.2839, allocations: 400.1 kB / 0.7201 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003864/0.2878, allocations: 4.657 MB / 0.7246 GB, free: 10.71 MB / 0.5573 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.01298/0.3008, allocations: 18.64 MB / 0.7428 GB, free: 7.594 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.302, allocations: 1.367 MB / 0.7442 GB, free: 6.215 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/0.3032, allocations: 1.438 MB / 0.7456 GB, free: 4.777 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.523e-05/0.3033, allocations: 13 kB / 0.7456 GB, free: 4.766 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.3033, allocations: 43.56 kB / 0.7456 GB, free: 4.715 MB / 0.573 GB Notification: Performance of pre-optimization done (n=110): time 2.635e-06/0.3033, allocations: 0 / 0.7456 GB, free: 4.715 MB / 0.573 GB Notification: Performance of matching and sorting (n=179): time 0.06881/0.3721, allocations: 37.07 MB / 0.7818 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.3722, allocations: 69.41 kB / 0.7819 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.3736, allocations: 1.454 MB / 0.7833 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.3737, allocations: 57.7 kB / 0.7834 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006273/0.3743, allocations: 1.579 MB / 0.7849 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003626/0.3747, allocations: 0.6274 MB / 0.7855 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004343/0.3751, allocations: 383.5 kB / 0.7859 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.332e-05/0.3752, allocations: 309.1 kB / 0.7862 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/0.3768, allocations: 1.792 MB / 0.7879 GB, free: 9.281 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001984/0.3788, allocations: 2.342 MB / 0.7902 GB, free: 6.684 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003614/0.3824, allocations: 4.387 MB / 0.7945 GB, free: 2.055 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.3824, allocations: 4 kB / 0.7945 GB, free: 2.051 MB / 0.6198 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01014/0.3926, allocations: 8.424 MB / 0.8027 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.3926, allocations: 20.19 kB / 0.8028 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.3926, allocations: 22.86 kB / 0.8028 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007813/0.4004, allocations: 4.603 MB / 0.8073 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005645/0.401, allocations: 311.4 kB / 0.8076 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02785/0.4288, allocations: 31.58 MB / 0.8384 GB, free: 4.359 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.4303, allocations: 151.8 kB / 0.8386 GB, free: 4.211 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.4304, allocations: 81.02 kB / 0.8386 GB, free: 4.133 MB / 0.6667 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.002604/0.433, allocations: 1.337 MB / 0.8399 GB, free: 2.785 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002297/0.4333, allocations: 214.6 kB / 0.8401 GB, free: 2.574 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/0.4433, allocations: 8.293 MB / 0.8482 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.4433, allocations: 16 kB / 0.8483 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-05/0.4433, allocations: 28 kB / 0.8483 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.4433, allocations: 11.95 kB / 0.8483 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01404/0.4574, allocations: 12.2 MB / 0.8602 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.4574, allocations: 8 kB / 0.8602 GB, free: 13.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003466/0.4577, allocations: 163.7 kB / 0.8604 GB, free: 13.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007486/0.4652, allocations: 4.475 MB / 0.8648 GB, free: 9.164 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.783e-05/0.4653, allocations: 36 kB / 0.8648 GB, free: 9.129 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02745/0.4928, allocations: 31.19 MB / 0.8952 GB, free: 9.246 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.4928, allocations: 11.94 kB / 0.8953 GB, free: 9.234 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01003/0.5028, allocations: 8.089 MB / 0.9032 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009777/0.5038, allocations: 0.5492 MB / 0.9037 GB, free: 480 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/0.5039, allocations: 47.94 kB / 0.9037 GB, free: 432 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006969/0.5046, allocations: 131.8 kB / 0.9039 GB, free: 300 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005581/0.5052, allocations: 180.8 kB / 0.904 GB, free: 116 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.399e-05/0.5053, allocations: 48 kB / 0.9041 GB, free: 68 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0008822/0.5062, allocations: 0.9588 MB / 0.905 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.5062, allocations: 0 / 0.905 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002223/0.5084, allocations: 1.116 MB / 0.9061 GB, free: 14 MB / 0.7448 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.009777/0.5182, allocations: 8.693 MB / 0.9146 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.007154/0.5253, allocations: 6.294 MB / 0.9207 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.5253, allocations: 4.875 kB / 0.9207 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.004971/0.5303, allocations: 4.169 MB / 0.9248 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/0.5319, allocations: 0.5224 MB / 0.9253 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2459/0.7778, allocations: 33.58 MB / 0.9581 GB, free: 232.7 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002017/0.7798, allocations: 2.161 MB / 0.9602 GB, free: 232.2 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0007839/0.7806, allocations: 390.8 kB / 0.9606 GB, free: 232.2 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007748/0.7814, allocations: 1.215 MB / 0.9618 GB, free: 231.1 MB / 0.7605 GB Notification: Performance of SimCode: time 1.072e-06/0.7814, allocations: 0 / 0.9618 GB, free: 231.1 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08597/0.8674, allocations: 90.02 MB / 1.05 GB, free: 167.4 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.43/9.297, allocations: 7.984 kB / 1.05 GB, free: 167.4 MB / 0.7605 GB " [Timeout remaining time 651] (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: 11.9741195961833] Failed to read output from testmodel.py, exit status != 0: 9.410391487181187 9.41615221 9.147196251 Calling exit ...