Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.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.0007894/0.0007894, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0008022/0.0008022, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.8544/0.8544, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.00142/0.00142, allocations: 239.9 kB / 260.2 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.6614/0.6614, allocations: 138.4 MB / 455.1 MB, free: 29.89 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: translateModel(BuildingSystems.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.6475 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.927e-05/2.085e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.359 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.RCModel): time 0.2089/0.2089, allocations: 4.229 MB / 0.6516 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001686/0.2106, allocations: 1.793 MB / 0.6534 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.2107, allocations: 14.53 kB / 0.6534 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0007724/0.2115, allocations: 0.5869 MB / 0.654 GB, free: 54 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003436/0.2118, allocations: 276.4 kB / 0.6542 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.2122, allocations: 260.3 kB / 0.6545 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0004188/0.2126, allocations: 0.6283 MB / 0.6551 GB, free: 53.42 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003923/0.213, allocations: 344.2 kB / 0.6554 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002566/0.2133, allocations: 352.4 kB / 0.6557 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003242/0.2136, allocations: 243.9 kB / 0.656 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.973e-05/0.2136, allocations: 38.81 kB / 0.656 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002466/0.2139, allocations: 229.4 kB / 0.6562 GB, free: 52.97 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.214, allocations: 164.7 kB / 0.6564 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.2141, allocations: 153 kB / 0.6565 GB, free: 52.84 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005041/0.2146, allocations: 0.6286 MB / 0.6572 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2146, allocations: 2.469 kB / 0.6572 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2146, allocations: 0 / 0.6572 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.2146, allocations: 0 / 0.6572 GB, free: 52.62 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0007672/0.2154, allocations: 0.651 MB / 0.6578 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.2154, allocations: 13.05 kB / 0.6578 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005119/0.2159, allocations: 152 kB / 0.6579 GB, free: 52.12 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.2162, allocations: 276.1 kB / 0.6582 GB, free: 51.92 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.2162, allocations: 23.44 kB / 0.6582 GB, free: 51.91 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/0.2163, allocations: 42.03 kB / 0.6583 GB, free: 51.9 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004987/0.2168, allocations: 0.6838 MB / 0.6589 GB, free: 51.44 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.2168, allocations: 1.281 kB / 0.6589 GB, free: 51.44 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.2168, allocations: 13.45 kB / 0.659 GB, free: 51.43 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.515e-05/0.2168, allocations: 35.77 kB / 0.659 GB, free: 51.42 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003744/0.2172, allocations: 386.4 kB / 0.6594 GB, free: 51.29 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.2184, allocations: 1.665 MB / 0.661 GB, free: 50.04 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/0.2187, allocations: 246.3 kB / 0.6612 GB, free: 49.94 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.453e-05/0.2188, allocations: 96.64 kB / 0.6613 GB, free: 49.9 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.2188, allocations: 1.625 kB / 0.6613 GB, free: 49.9 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.304e-05/0.2189, allocations: 38.19 kB / 0.6614 GB, free: 49.86 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.2189, allocations: 3.719 kB / 0.6614 GB, free: 49.86 MB / 0.5573 GB Notification: Performance of matching and sorting (n=23): time 0.00118/0.22, allocations: 0.8995 MB / 0.6622 GB, free: 49.39 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.781e-05/0.2201, allocations: 54.28 kB / 0.6623 GB, free: 49.33 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.2202, allocations: 273.8 kB / 0.6625 GB, free: 49.18 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.2202, allocations: 31.64 kB / 0.6626 GB, free: 49.14 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.854e-05/0.2203, allocations: 242.6 kB / 0.6628 GB, free: 48.94 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.2203, allocations: 89.44 kB / 0.6629 GB, free: 48.87 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.045e-05/0.2204, allocations: 60.39 kB / 0.663 GB, free: 48.83 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.195e-05/0.2204, allocations: 342.8 kB / 0.6633 GB, free: 48.5 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.2205, allocations: 104.7 kB / 0.6634 GB, free: 48.46 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.2207, allocations: 195.1 kB / 0.6636 GB, free: 48.32 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.2209, allocations: 315.8 kB / 0.6639 GB, free: 48.12 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2209, allocations: 1.656 kB / 0.6639 GB, free: 48.12 MB / 0.5573 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004194/0.2213, allocations: 445.7 kB / 0.6643 GB, free: 47.92 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.2213, allocations: 5.531 kB / 0.6643 GB, free: 47.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2213, allocations: 7.375 kB / 0.6643 GB, free: 47.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002008/0.2215, allocations: 96.67 kB / 0.6644 GB, free: 47.88 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.2217, allocations: 69.8 kB / 0.6645 GB, free: 47.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.223, allocations: 3.994 MB / 0.6684 GB, free: 44.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.2231, allocations: 13.94 kB / 0.6684 GB, free: 44.04 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.2231, allocations: 17.38 kB / 0.6684 GB, free: 44.04 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.2232, allocations: 183.7 kB / 0.6686 GB, free: 43.89 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.2233, allocations: 31.23 kB / 0.6686 GB, free: 43.87 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.86e-05/0.2233, allocations: 35.59 kB / 0.6686 GB, free: 43.85 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2233, allocations: 7.188 kB / 0.6686 GB, free: 43.84 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2233, allocations: 1.719 kB / 0.6686 GB, free: 43.84 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2233, allocations: 1.266 kB / 0.6686 GB, free: 43.84 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.2235, allocations: 286.2 kB / 0.6689 GB, free: 43.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2235, allocations: 0 / 0.6689 GB, free: 43.66 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.479e-05/0.2236, allocations: 32.97 kB / 0.6689 GB, free: 43.66 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001534/0.2238, allocations: 94.39 kB / 0.669 GB, free: 43.61 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.2238, allocations: 1.719 kB / 0.669 GB, free: 43.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/0.2249, allocations: 4.003 MB / 0.6729 GB, free: 39.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2249, allocations: 0 / 0.6729 GB, free: 39.79 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004568/0.2254, allocations: 0.5427 MB / 0.6735 GB, free: 39.49 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.363e-05/0.2255, allocations: 50.95 kB / 0.6735 GB, free: 39.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.2255, allocations: 2.094 kB / 0.6735 GB, free: 39.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.438e-05/0.2256, allocations: 15.56 kB / 0.6735 GB, free: 39.45 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.2256, allocations: 25.88 kB / 0.6736 GB, free: 39.45 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-06/0.2256, allocations: 5.188 kB / 0.6736 GB, free: 39.45 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 9.952e-05/0.2257, allocations: 188.6 kB / 0.6738 GB, free: 39.34 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2257, allocations: 0 / 0.6738 GB, free: 39.34 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002755/0.226, allocations: 105.3 kB / 0.6739 GB, free: 39.32 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.86e-05/0.2261, allocations: 102.9 kB / 0.674 GB, free: 39.23 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004433/0.2265, allocations: 0.5928 MB / 0.6745 GB, free: 38.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.2265, allocations: 2.688 kB / 0.6745 GB, free: 38.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001945/0.2267, allocations: 460.8 kB / 0.675 GB, free: 38.42 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.227, allocations: 67.31 kB / 0.675 GB, free: 38.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007179/0.2277, allocations: 0.7272 MB / 0.6757 GB, free: 37.96 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.2279, allocations: 229 kB / 0.676 GB, free: 37.86 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.318e-05/0.2279, allocations: 28.11 kB / 0.676 GB, free: 37.85 MB / 0.5573 GB Notification: Performance of SimCode: time 7.02e-07/0.2279, allocations: 7.875 kB / 0.676 GB, free: 37.84 MB / 0.5573 GB Notification: Performance of Templates: time 0.007448/0.2354, allocations: 8.687 MB / 0.6845 GB, free: 37.28 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.942702133208513] Failed to read output from testmodel.py, exit status != 0: 0.24039281252771616 0.24738579800000002 0.031258405 Calling exit ...