Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.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.001451/0.001451, allocations: 105 kB / 20.44 MB, free: 1.504 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.001615/0.001615, allocations: 207.7 kB / 23.75 MB, free: 4.727 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.433/1.433, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9381/0.9381, allocations: 150 MB / 463.9 MB, free: 10.53 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance") translateModel(IBPSA.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance") [Timeout 660] "Notification: IBPSA 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.002061/0.002061, allocations: 71.27 kB / 0.6425 GB, free: 9.922 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1927, allocations: 89.17 MB / 0.7296 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.005938/0.1987, allocations: 3.184 MB / 0.7327 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002765/0.2014, allocations: 1.422 MB / 0.7341 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002075/0.2016, allocations: 4 kB / 0.7341 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.203, allocations: 350.7 kB / 0.7344 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005015/0.2035, allocations: 147.2 kB / 0.7345 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005198/0.204, allocations: 140.9 kB / 0.7347 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005191/0.2045, allocations: 303 kB / 0.735 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004653/0.205, allocations: 192.5 kB / 0.7351 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/0.2053, allocations: 127.5 kB / 0.7353 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003976/0.2056, allocations: 151.5 kB / 0.7354 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.382e-05/0.2057, allocations: 16 kB / 0.7354 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003949/0.2061, allocations: 171.6 kB / 0.7356 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.2062, allocations: 83.73 kB / 0.7357 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.2064, allocations: 111.5 kB / 0.7358 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005754/0.2069, allocations: 334.8 kB / 0.7361 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2069, allocations: 0 / 0.7361 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.512e-06/0.2069, allocations: 0 / 0.7361 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.614e-05/0.207, allocations: 0 / 0.7361 GB, free: 10.1 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009956/0.208, allocations: 457.5 kB / 0.7365 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.208, allocations: 12.03 kB / 0.7365 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006479/0.2087, allocations: 80.72 kB / 0.7366 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/0.209, allocations: 186.1 kB / 0.7368 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.209, allocations: 12.75 kB / 0.7368 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.927e-05/0.2091, allocations: 20.38 kB / 0.7368 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005069/0.2096, allocations: 303.5 kB / 0.7371 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.2096, allocations: 0 / 0.7371 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/0.2096, allocations: 8 kB / 0.7371 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.077e-05/0.2097, allocations: 24.3 kB / 0.7371 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003468/0.21, allocations: 200.9 kB / 0.7373 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001753/0.2118, allocations: 1.425 MB / 0.7387 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.212, allocations: 94.66 kB / 0.7388 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.437e-05/0.2121, allocations: 36.83 kB / 0.7388 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-06/0.2121, allocations: 0 / 0.7388 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.2121, allocations: 34.56 kB / 0.7389 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.2121, allocations: 0 / 0.7389 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004809/0.2126, allocations: 150.3 kB / 0.739 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.2127, allocations: 51.41 kB / 0.7391 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.2129, allocations: 207.9 kB / 0.7393 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.2129, allocations: 25.7 kB / 0.7393 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.213, allocations: 171.9 kB / 0.7395 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.833e-05/0.2131, allocations: 27.98 kB / 0.7395 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.093e-05/0.2132, allocations: 33.67 kB / 0.7395 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.2134, allocations: 334.8 kB / 0.7398 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.008e-05/0.2135, allocations: 31.89 kB / 0.7399 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.2136, allocations: 108.5 kB / 0.74 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.2138, allocations: 144.5 kB / 0.7401 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2138, allocations: 0 / 0.7401 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003319/0.2141, allocations: 186.4 kB / 0.7403 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.2142, allocations: 14.56 kB / 0.7403 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.2142, allocations: 3.984 kB / 0.7403 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001791/0.2143, allocations: 28.84 kB / 0.7403 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.2145, allocations: 23.94 kB / 0.7404 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/0.2158, allocations: 1.318 MB / 0.7416 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.2159, allocations: 27.84 kB / 0.7417 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.2159, allocations: 7.938 kB / 0.7417 GB, free: 3.867 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001563/0.2161, allocations: 157.8 kB / 0.7418 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.905e-05/0.2161, allocations: 15.91 kB / 0.7418 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.472e-05/0.2162, allocations: 21.39 kB / 0.7419 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.2162, allocations: 4 kB / 0.7419 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.2162, allocations: 0 / 0.7419 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2162, allocations: 0 / 0.7419 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005677/0.2167, allocations: 410.3 kB / 0.7423 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2167, allocations: 0 / 0.7423 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.194e-05/0.2168, allocations: 15.98 kB / 0.7423 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.034e-05/0.2169, allocations: 20.84 kB / 0.7423 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.2169, allocations: 4 kB / 0.7423 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001223/0.2181, allocations: 1.314 MB / 0.7436 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.2181, allocations: 4.031 kB / 0.7436 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003494/0.2185, allocations: 212.3 kB / 0.7438 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/0.2185, allocations: 19.89 kB / 0.7438 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.2185, allocations: 0 / 0.7438 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.2186, allocations: 11.98 kB / 0.7438 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.183e-05/0.2187, allocations: 4 kB / 0.7438 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.2187, allocations: 0 / 0.7438 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001415/0.2188, allocations: 144.4 kB / 0.744 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2188, allocations: 0 / 0.744 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000334/0.2191, allocations: 51.89 kB / 0.744 GB, free: 1.285 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001097/0.2193, allocations: 99.23 kB / 0.7441 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003855/0.2196, allocations: 206.5 kB / 0.7443 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2196, allocations: 0 / 0.7443 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.2198, allocations: 147.2 kB / 0.7444 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.2202, allocations: 43.45 kB / 0.7445 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007157/0.2209, allocations: 404.7 kB / 0.7449 GB, free: 344 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005019/0.2214, allocations: 0.7515 MB / 0.7456 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.909e-05/0.2214, allocations: 15.44 kB / 0.7456 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of SimCode: time 5.21e-07/0.2214, allocations: 4 kB / 0.7456 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of Templates: time 0.006574/0.228, allocations: 2.984 MB / 0.7485 GB, free: 12.57 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.086196684045717] Failed to read output from testmodel.py, exit status != 0: 0.238072887994349 0.55754176 0.044163264 Calling exit ...