Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 118.9 kB / 17.8 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 191.8 kB / 20.75 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 225.6 MB / 249.2 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9793/0.9793, allocations: 149.7 MB / 453.7 MB, free: 10.66 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 72.86 kB / 0.6285 GB, free: 32.77 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1881, allocations: 87.85 MB / 0.7142 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005135/0.1933, allocations: 3.103 MB / 0.7173 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003273/0.1965, allocations: 1.947 MB / 0.7192 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.1967, allocations: 7.938 kB / 0.7192 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009758/0.1976, allocations: 296.6 kB / 0.7195 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004569/0.1981, allocations: 191.1 kB / 0.7196 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006366/0.1987, allocations: 251.2 kB / 0.7199 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003973/0.1991, allocations: 319 kB / 0.7202 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003259/0.1995, allocations: 145 kB / 0.7203 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.1997, allocations: 135.5 kB / 0.7205 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000304/0.2, allocations: 163.4 kB / 0.7206 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.2, allocations: 20 kB / 0.7206 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006947/0.2007, allocations: 411.2 kB / 0.721 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.2008, allocations: 87.73 kB / 0.7211 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.2009, allocations: 123.4 kB / 0.7212 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006694/0.2016, allocations: 494.3 kB / 0.7217 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2016, allocations: 0 / 0.7217 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2016, allocations: 4 kB / 0.7217 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.2016, allocations: 0 / 0.7217 GB, free: 4.035 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009598/0.2026, allocations: 0.5724 MB / 0.7223 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.2026, allocations: 8.031 kB / 0.7223 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008131/0.2034, allocations: 108.7 kB / 0.7224 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/0.2039, allocations: 266.4 kB / 0.7226 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.2039, allocations: 16.8 kB / 0.7226 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.4e-05/0.2039, allocations: 24.31 kB / 0.7227 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005941/0.2045, allocations: 357.2 kB / 0.723 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.2045, allocations: 0 / 0.723 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/0.2046, allocations: 16 kB / 0.723 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.353e-05/0.2046, allocations: 20.42 kB / 0.723 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004866/0.2051, allocations: 297.5 kB / 0.7233 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002444/0.2076, allocations: 1.734 MB / 0.725 GB, free: 372 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000525/0.2081, allocations: 326 kB / 0.7253 GB, free: 8 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.2083, allocations: 101.7 kB / 0.7254 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.2084, allocations: 89.05 kB / 0.7255 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.2084, allocations: 38.55 kB / 0.7255 GB, free: 15.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.2084, allocations: 0 / 0.7255 GB, free: 15.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.002503/0.2109, allocations: 0.9659 MB / 0.7265 GB, free: 14.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.211, allocations: 85.05 kB / 0.7266 GB, free: 14.65 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.2112, allocations: 219.7 kB / 0.7268 GB, free: 14.42 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.2113, allocations: 29.7 kB / 0.7268 GB, free: 14.39 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.2114, allocations: 176.5 kB / 0.727 GB, free: 14.21 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.961e-05/0.2115, allocations: 83.33 kB / 0.7271 GB, free: 14.13 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.2116, allocations: 57.66 kB / 0.7271 GB, free: 14.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.2117, allocations: 334.8 kB / 0.7274 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.2119, allocations: 123.9 kB / 0.7276 GB, free: 13.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.2122, allocations: 217.3 kB / 0.7278 GB, free: 13.36 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000503/0.2127, allocations: 360.9 kB / 0.7281 GB, free: 12.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2127, allocations: 0 / 0.7281 GB, free: 12.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009272/0.2136, allocations: 0.5043 MB / 0.7286 GB, free: 12.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.2137, allocations: 9.875 kB / 0.7286 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.2137, allocations: 4 kB / 0.7286 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005187/0.2142, allocations: 151.6 kB / 0.7288 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.2144, allocations: 59.89 kB / 0.7288 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003534/0.218, allocations: 4.194 MB / 0.7329 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.2182, allocations: 27.97 kB / 0.7329 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.2182, allocations: 11.98 kB / 0.7329 GB, free: 7.66 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001868/0.2184, allocations: 169.7 kB / 0.7331 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.053e-05/0.2185, allocations: 27.84 kB / 0.7331 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008666/0.2193, allocations: 466.3 kB / 0.7336 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.2193, allocations: 8 kB / 0.7336 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.2193, allocations: 0 / 0.7336 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2193, allocations: 4.094 kB / 0.7336 GB, free: 6.98 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.221, allocations: 1.011 MB / 0.7346 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/0.221, allocations: 4 kB / 0.7346 GB, free: 5.871 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.2211, allocations: 27.98 kB / 0.7346 GB, free: 5.844 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003854/0.2215, allocations: 147.5 kB / 0.7347 GB, free: 5.688 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.2215, allocations: 8 kB / 0.7348 GB, free: 5.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00333/0.2249, allocations: 4.151 MB / 0.7388 GB, free: 1.199 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.2249, allocations: 7.938 kB / 0.7388 GB, free: 1.191 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008672/0.2258, allocations: 0.6179 MB / 0.7394 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/0.2259, allocations: 128.9 kB / 0.7395 GB, free: 384 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.226, allocations: 11.94 kB / 0.7396 GB, free: 372 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.2262, allocations: 23.97 kB / 0.7396 GB, free: 348 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.2262, allocations: 23.92 kB / 0.7396 GB, free: 324 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.2263, allocations: 8 kB / 0.7396 GB, free: 316 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001656/0.2264, allocations: 157.5 kB / 0.7398 GB, free: 160 kB / 0.545 GB Notification: Performance of sort global known variables: time 5e-08/0.2264, allocations: 0 / 0.7398 GB, free: 160 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005063/0.2269, allocations: 91.94 kB / 0.7398 GB, free: 68 kB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002307/0.2272, allocations: 131.1 kB / 0.74 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009714/0.2281, allocations: 0.5714 MB / 0.7405 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.2281, allocations: 0 / 0.7405 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005439/0.2287, allocations: 394.8 kB / 0.7409 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005059/0.2292, allocations: 44.27 kB / 0.7409 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.2303, allocations: 0.6776 MB / 0.7416 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004816/0.2308, allocations: 0.7831 MB / 0.7424 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.022e-05/0.2309, allocations: 23.44 kB / 0.7424 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.2309, allocations: 0 / 0.7424 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.01093/0.2418, allocations: 7.648 MB / 0.7499 GB, free: 5.656 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.51907738801674] Failed to read output from testmodel.py, exit status != 0: 0.24925228400388733 0.26286700900000004 0.058425412 Calling exit ...