Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.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.000684/0.000684, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009654/0.001649, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.00068/0.00068, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009184/0.001598, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.8935/0.8935, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08387/0.9774, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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.6218/0.6218, allocations: 120.1 MB / 364.2 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06695/0.6887, allocations: 38.16 MB / 402.4 MB, free: 12.24 MB / 394.7 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.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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor") translateModel(IBPSA.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 403.7 MB, free: 10.95 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233e-05/1.357e-05, allocations: 2.312 kB / 403.7 MB, free: 10.95 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.002903/0.002917, allocations: 3.044 MB / 406.7 MB, free: 7.883 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.004414, allocations: 1.172 MB / 407.9 MB, free: 6.703 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.004552, allocations: 7.938 kB / 407.9 MB, free: 6.695 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000346/0.004898, allocations: 139.2 kB / 408.1 MB, free: 6.559 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.005172, allocations: 230.6 kB / 408.3 MB, free: 6.332 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.005419, allocations: 155.6 kB / 408.4 MB, free: 6.18 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004153/0.005834, allocations: 0.5254 MB / 409 MB, free: 5.652 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002965/0.006131, allocations: 276.1 kB / 409.2 MB, free: 5.375 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002568/0.006388, allocations: 307.3 kB / 409.5 MB, free: 5.074 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002956/0.006683, allocations: 215.4 kB / 409.7 MB, free: 4.863 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.515e-05/0.006718, allocations: 28 kB / 409.8 MB, free: 4.836 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.006882, allocations: 111.7 kB / 409.9 MB, free: 4.727 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.426e-05/0.006967, allocations: 115.7 kB / 410 MB, free: 4.613 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.698e-05/0.007054, allocations: 103.8 kB / 410.1 MB, free: 4.512 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.007335, allocations: 302.9 kB / 410.4 MB, free: 4.215 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/0.007345, allocations: 0 / 410.4 MB, free: 4.215 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.11e-07/0.007346, allocations: 0 / 410.4 MB, free: 4.215 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.007357, allocations: 0 / 410.4 MB, free: 4.215 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0006256/0.007982, allocations: 0.5932 MB / 411 MB, free: 3.598 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.008014, allocations: 8.031 kB / 411 MB, free: 3.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005562/0.00857, allocations: 261.7 kB / 411.2 MB, free: 3.316 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.008803, allocations: 221.2 kB / 411.5 MB, free: 3.074 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.008819, allocations: 21.03 kB / 411.5 MB, free: 3.055 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.008851, allocations: 32.31 kB / 411.5 MB, free: 3.023 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/0.009176, allocations: 427.4 kB / 411.9 MB, free: 2.535 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.009187, allocations: 192 / 411.9 MB, free: 2.535 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.009208, allocations: 16.36 kB / 411.9 MB, free: 2.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.665e-05/0.009244, allocations: 32.58 kB / 412 MB, free: 2.488 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.009359, allocations: 100.4 kB / 412.1 MB, free: 2.391 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009449/0.0103, allocations: 1.325 MB / 413.4 MB, free: 1.008 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.01046, allocations: 101.3 kB / 413.5 MB, free: 0.8984 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.513e-05/0.01054, allocations: 56.81 kB / 413.6 MB, free: 0.8398 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.725e-06/0.01055, allocations: 256 / 413.6 MB, free: 0.8398 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.01058, allocations: 38.56 kB / 413.6 MB, free: 0.793 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 7.71e-07/0.01058, allocations: 0 / 413.6 MB, free: 0.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002455/0.01082, allocations: 126.4 kB / 413.7 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.157e-05/0.01084, allocations: 51.41 kB / 413.8 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.01096, allocations: 219.3 kB / 414 MB, free: 380 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.01098, allocations: 29.7 kB / 414 MB, free: 344 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/0.01105, allocations: 204.1 kB / 414.2 MB, free: 136 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.01107, allocations: 51.52 kB / 414.3 MB, free: 84 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.826e-05/0.01112, allocations: 49.92 kB / 414.3 MB, free: 24 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.621e-05/0.01121, allocations: 330.9 kB / 414.6 MB, free: 15.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.359e-05/0.01123, allocations: 20.39 kB / 414.7 MB, free: 15.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.138e-05/0.01129, allocations: 111.9 kB / 414.8 MB, free: 15.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.0114, allocations: 157.8 kB / 414.9 MB, free: 15.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.0114, allocations: 4 kB / 414.9 MB, free: 15.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001604/0.01156, allocations: 170 kB / 415.1 MB, free: 15.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.01157, allocations: 4 kB / 415.1 MB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.01158, allocations: 4 kB / 415.1 MB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001354/0.01171, allocations: 45.19 kB / 415.1 MB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.01183, allocations: 51.92 kB / 415.2 MB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005725/0.0124, allocations: 1.191 MB / 416.4 MB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.126e-05/0.01248, allocations: 23.84 kB / 416.4 MB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.01249, allocations: 15.94 kB / 416.4 MB, free: 13.72 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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 7.534e-05/0.01257, allocations: 124.5 kB / 416.5 MB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.01259, allocations: 19.98 kB / 416.6 MB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.43e-05/0.01261, allocations: 25.45 kB / 416.6 MB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.01262, allocations: 4 kB / 416.6 MB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.01262, allocations: 0 / 416.6 MB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.01262, allocations: 0 / 416.6 MB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004116/0.01303, allocations: 0.5685 MB / 417.2 MB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.01303, allocations: 4 kB / 417.2 MB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.869e-05/0.01308, allocations: 31.92 kB / 417.2 MB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.532e-05/0.01312, allocations: 35.77 kB / 417.2 MB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.162e-05/0.0132, allocations: 29.03 kB / 417.3 MB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.01321, allocations: 8 kB / 417.3 MB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004745/0.01368, allocations: 1.186 MB / 418.5 MB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.01368, allocations: 4 kB / 418.5 MB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.01384, allocations: 296.7 kB / 418.7 MB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.01386, allocations: 4 kB / 418.7 MB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-05/0.01393, allocations: 11.98 kB / 418.8 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.12e-05/0.01395, allocations: 23.86 kB / 418.8 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.01396, allocations: 4 kB / 418.8 MB, free: 11.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.693e-05/0.014, allocations: 67.16 kB / 418.9 MB, free: 11.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.014, allocations: 4 kB / 418.9 MB, free: 11.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002048/0.01421, allocations: 79.78 kB / 418.9 MB, free: 10.99 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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 7.014e-05/0.01428, allocations: 92.3 kB / 419 MB, free: 10.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.01449, allocations: 211.2 kB / 419.2 MB, free: 10.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.0145, allocations: 4 kB / 419.2 MB, free: 10.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.01462, allocations: 228.2 kB / 419.5 MB, free: 10.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.01496, allocations: 435.5 kB / 419.9 MB, free: 9.918 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.01685, allocations: 0.5482 MB / 420.4 MB, free: 9.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.322e-05/0.01691, allocations: 116.2 kB / 420.5 MB, free: 9.188 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.422e-05/0.01698, allocations: 21.95 kB / 420.6 MB, free: 9.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.968e-05/0.01708, allocations: 91.34 kB / 420.7 MB, free: 9.07 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01708, allocations: 0 / 420.7 MB, free: 9.07 MB / 410.7 MB Notification: Performance of Templates: time 0.004202/0.02128, allocations: 2.735 MB / 423.4 MB, free: 6.332 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.053042876534164]