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.001715/0.001715, 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.00214/0.00214, allocations: 207.1 kB / 22.24 MB, free: 5.258 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.487/1.487, allocations: 230.6 MB / 256 MB, free: 7.805 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.002597/0.002597, allocations: 286.5 kB / 312.7 MB, free: 2.605 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.245/1.245, allocations: 180.6 MB / 0.5369 GB, free: 14.56 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: translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [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.00308/0.00308, allocations: 105.8 kB / 0.74 GB, free: 27.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1665, allocations: 95.39 MB / 0.8331 GB, free: 7.863 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01279/0.1793, allocations: 9.647 MB / 0.8426 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00549/0.1848, allocations: 3.033 MB / 0.8455 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000661/0.1854, allocations: 47.69 kB / 0.8456 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001985/0.1874, allocations: 0.694 MB / 0.8462 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001605/0.189, allocations: 0.7157 MB / 0.8469 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.1905, allocations: 0.6368 MB / 0.8476 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003095/0.1936, allocations: 2.734 MB / 0.8502 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002087/0.1957, allocations: 1.368 MB / 0.8516 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001721/0.1974, allocations: 1.168 MB / 0.8527 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002324/0.1997, allocations: 1.425 MB / 0.8541 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005707/0.2003, allocations: 224 kB / 0.8543 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.2013, allocations: 463.4 kB / 0.8548 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009997/0.2023, allocations: 1.009 MB / 0.8558 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009185/0.2032, allocations: 0.8288 MB / 0.8566 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003301/0.2065, allocations: 3.427 MB / 0.8599 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.738e-06/0.2065, allocations: 7.938 kB / 0.8599 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2065, allocations: 3.938 kB / 0.8599 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.637e-05/0.2066, allocations: 0 / 0.8599 GB, free: 12.31 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.00359/0.2101, allocations: 1.905 MB / 0.8618 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.2102, allocations: 12.73 kB / 0.8618 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005573/0.2158, allocations: 0.9009 MB / 0.8627 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002456/0.2182, allocations: 1.12 MB / 0.8638 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.18e-05/0.2183, allocations: 115.3 kB / 0.8639 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002798/0.2186, allocations: 140.3 kB / 0.864 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004588/0.2232, allocations: 3.092 MB / 0.867 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.029e-05/0.2232, allocations: 7.938 kB / 0.867 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001777/0.2234, allocations: 59.97 kB / 0.8671 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002263/0.2236, allocations: 179 kB / 0.8673 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004077/0.2277, allocations: 2.608 MB / 0.8698 GB, free: 1.988 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.01364/0.2413, allocations: 9.039 MB / 0.8786 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00195/0.2433, allocations: 1.217 MB / 0.8798 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/0.2447, allocations: 0.984 MB / 0.8808 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.712e-05/0.2447, allocations: 12.59 kB / 0.8808 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.2448, allocations: 39.22 kB / 0.8808 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 1.13e-05/0.2448, allocations: 3.984 kB / 0.8808 GB, free: 6.449 MB / 0.6231 GB Notification: Performance of matching and sorting (n=139): time 0.07608/0.3209, allocations: 18.88 MB / 0.8993 GB, free: 3.531 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.3209, allocations: 64.72 kB / 0.8993 GB, free: 3.453 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.3221, allocations: 0.9025 MB / 0.9002 GB, free: 2.539 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0001301/0.3223, allocations: 49.7 kB / 0.9003 GB, free: 2.484 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005617/0.3228, allocations: 0.7501 MB / 0.901 GB, free: 1.723 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.000474/0.3233, allocations: 0.5035 MB / 0.9015 GB, free: 1.215 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005655/0.3239, allocations: 291.5 kB / 0.9018 GB, free: 0.9258 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.324, allocations: 353.9 kB / 0.9021 GB, free: 0.5742 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002005/0.3261, allocations: 1.335 MB / 0.9034 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002274/0.3283, allocations: 1.659 MB / 0.905 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004385/0.3327, allocations: 3.092 MB / 0.9081 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.046e-06/0.3327, allocations: 4 kB / 0.9081 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.0124/0.3451, allocations: 5.555 MB / 0.9135 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.3451, allocations: 8 kB / 0.9135 GB, free: 4.664 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.3452, allocations: 8 kB / 0.9135 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009249/0.3544, allocations: 2.717 MB / 0.9162 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008198/0.3552, allocations: 199.6 kB / 0.9163 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0395/0.3947, allocations: 24.85 MB / 0.9406 GB, free: 8.488 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/0.3966, allocations: 91.95 kB / 0.9407 GB, free: 8.398 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/0.3968, allocations: 59.94 kB / 0.9408 GB, free: 8.34 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.001484/0.3983, allocations: 0.7393 MB / 0.9415 GB, free: 7.59 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/0.3985, allocations: 119.2 kB / 0.9416 GB, free: 7.473 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01206/0.4106, allocations: 5.31 MB / 0.9468 GB, free: 2.125 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.4106, allocations: 15.94 kB / 0.9468 GB, free: 2.109 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.951e-05/0.4106, allocations: 24.5 kB / 0.9468 GB, free: 2.086 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.4106, allocations: 3.984 kB / 0.9468 GB, free: 2.082 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01718/0.4278, allocations: 7.964 MB / 0.9546 GB, free: 10.01 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/0.4278, allocations: 11.94 kB / 0.9546 GB, free: 9.996 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004867/0.4283, allocations: 119.8 kB / 0.9547 GB, free: 9.879 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009259/0.4376, allocations: 2.581 MB / 0.9572 GB, free: 7.285 MB / 0.7013 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001533/0.4377, allocations: 32 kB / 0.9573 GB, free: 7.254 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4208/0.8585, allocations: 23.31 MB / 0.98 GB, free: 134.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.8585, allocations: 4.219 kB / 0.98 GB, free: 134.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01138/0.8699, allocations: 5.173 MB / 0.9851 GB, free: 133.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/0.8712, allocations: 424.4 kB / 0.9855 GB, free: 133.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/0.8714, allocations: 33.62 kB / 0.9855 GB, free: 133.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009596/0.8724, allocations: 77.62 kB / 0.9856 GB, free: 133.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005101/0.8729, allocations: 127.3 kB / 0.9857 GB, free: 133.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.805e-05/0.873, allocations: 38.39 kB / 0.9858 GB, free: 133.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007045/0.8737, allocations: 0.628 MB / 0.9864 GB, free: 133.8 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.8737, allocations: 0 / 0.9864 GB, free: 133.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00206/0.8758, allocations: 0.7212 MB / 0.9871 GB, free: 133.8 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.0002125/0.876, allocations: 138.8 kB / 0.9872 GB, free: 133.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007426/0.8834, allocations: 4.084 MB / 0.9912 GB, free: 132.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/0.8834, allocations: 1.125 kB / 0.9912 GB, free: 132.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.005943/0.8894, allocations: 2.609 MB / 0.9937 GB, free: 131.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.8907, allocations: 213.5 kB / 0.9939 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00585/0.8966, allocations: 4.074 MB / 0.9979 GB, free: 129.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/0.8979, allocations: 1.114 MB / 0.999 GB, free: 129.4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006793/0.8985, allocations: 321.8 kB / 0.9993 GB, free: 129.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.8987, allocations: 52.94 kB / 0.9994 GB, free: 129.4 MB / 0.7169 GB Notification: Performance of SimCode: time 7.21e-07/0.8987, allocations: 2.734 kB / 0.9994 GB, free: 129.4 MB / 0.7169 GB Notification: Performance of Templates: time 0.04603/0.9447, allocations: 43.7 MB / 1.042 GB, free: 94.36 MB / 0.7169 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.5309565383940935] Failed to read output from testmodel.py, exit status != 0: 0.952056746929884 0.961583026 0.752752464 Calling exit ...