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.0009589/0.0009589, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.00162/0.00162, allocations: 165 kB / 23.8 MB, free: 0.7695 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.9401/0.9401, allocations: 177.1 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.5934/0.5934, allocations: 115 MB / 375.7 MB, free: 7.648 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 481.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.547e-05, allocations: 2.859 kB / 481.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.004157/0.004183, allocations: 2.564 MB / 484.1 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.005922, allocations: 0.9863 MB / 485 MB, free: 9.578 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.00606, allocations: 9.281 kB / 485 MB, free: 9.574 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005279/0.006588, allocations: 90.62 kB / 485.1 MB, free: 9.527 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003349/0.006923, allocations: 136 kB / 485.3 MB, free: 9.449 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.00721, allocations: 117.1 kB / 485.4 MB, free: 9.387 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000403/0.007613, allocations: 319.4 kB / 485.7 MB, free: 9.242 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004083/0.008021, allocations: 184 kB / 485.9 MB, free: 9.164 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002192/0.008241, allocations: 177.2 kB / 486 MB, free: 9.094 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002966/0.008537, allocations: 125.8 kB / 486.2 MB, free: 9.059 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.83e-05/0.008575, allocations: 18.34 kB / 486.2 MB, free: 9.059 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.008762, allocations: 94.86 kB / 486.3 MB, free: 9.027 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.307e-05/0.008855, allocations: 91.2 kB / 486.4 MB, free: 8.984 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.752e-05/0.008952, allocations: 77.55 kB / 486.4 MB, free: 8.953 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003637/0.009316, allocations: 226.6 kB / 486.7 MB, free: 8.867 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.00932, allocations: 5.031 kB / 486.7 MB, free: 8.863 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.009322, allocations: 1.5 kB / 486.7 MB, free: 8.863 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.009327, allocations: 0 / 486.7 MB, free: 8.863 MB / 410.7 MB 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.0006935/0.01002, allocations: 0.5416 MB / 487.2 MB, free: 8.387 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.01006, allocations: 8.281 kB / 487.2 MB, free: 8.387 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006048/0.01067, allocations: 110.9 kB / 487.3 MB, free: 8.363 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.01093, allocations: 193.8 kB / 487.5 MB, free: 8.191 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.01095, allocations: 14.5 kB / 487.5 MB, free: 8.188 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.01098, allocations: 26 kB / 487.6 MB, free: 8.176 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.01125, allocations: 293.1 kB / 487.8 MB, free: 7.941 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.01126, allocations: 3.188 kB / 487.9 MB, free: 7.941 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.01128, allocations: 7.125 kB / 487.9 MB, free: 7.938 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.371e-05/0.01131, allocations: 20.81 kB / 487.9 MB, free: 7.934 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.01144, allocations: 92.55 kB / 488 MB, free: 7.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.01245, allocations: 1.237 MB / 489.2 MB, free: 22.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.01262, allocations: 69.95 kB / 489.3 MB, free: 22.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.424e-05/0.01265, allocations: 20.53 kB / 489.3 MB, free: 22.76 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.01266, allocations: 2.125 kB / 489.3 MB, free: 22.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.01268, allocations: 44.27 kB / 489.3 MB, free: 22.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.01268, allocations: 3.938 kB / 489.3 MB, free: 22.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002955/0.01298, allocations: 111.7 kB / 489.5 MB, free: 22.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.669e-05/0.01299, allocations: 53.16 kB / 489.5 MB, free: 22.58 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.01312, allocations: 235.5 kB / 489.7 MB, free: 22.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.715e-06/0.01312, allocations: 28.39 kB / 489.8 MB, free: 22.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.01319, allocations: 220.6 kB / 490 MB, free: 22.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.215e-05/0.01321, allocations: 24.33 kB / 490 MB, free: 22.14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.01325, allocations: 50.08 kB / 490.1 MB, free: 22.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.01335, allocations: 0.4926 MB / 490.5 MB, free: 21.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.159e-05/0.01338, allocations: 21.75 kB / 490.6 MB, free: 21.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.525e-05/0.01344, allocations: 110.8 kB / 490.7 MB, free: 21.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.232e-05/0.01353, allocations: 134.1 kB / 490.8 MB, free: 21.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.01353, allocations: 1.031 kB / 490.8 MB, free: 21.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001847/0.01372, allocations: 168.1 kB / 491 MB, free: 21.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.01373, allocations: 5.031 kB / 491 MB, free: 21.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.01374, allocations: 2.656 kB / 491 MB, free: 21.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001783/0.01392, allocations: 40.2 kB / 491 MB, free: 21.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.75e-05/0.01398, allocations: 24.16 kB / 491 MB, free: 21.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008367/0.01482, allocations: 1.742 MB / 492.8 MB, free: 19.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.133e-05/0.01489, allocations: 24.94 kB / 492.8 MB, free: 19.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.0149, allocations: 6.094 kB / 492.8 MB, free: 19.44 MB / 426.7 MB 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 8.037e-05/0.01498, allocations: 160.6 kB / 493 MB, free: 19.28 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.01501, allocations: 15.52 kB / 493 MB, free: 19.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.546e-05/0.01502, allocations: 16.08 kB / 493 MB, free: 19.26 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.01503, allocations: 9.906 kB / 493 MB, free: 19.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.01503, allocations: 1.219 kB / 493 MB, free: 19.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.01503, allocations: 1.219 kB / 493 MB, free: 19.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.01532, allocations: 409.5 kB / 493.4 MB, free: 18.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.01532, allocations: 0.9688 kB / 493.4 MB, free: 18.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.312e-05/0.01535, allocations: 9.859 kB / 493.4 MB, free: 18.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.65e-05/0.01544, allocations: 30.88 kB / 493.5 MB, free: 18.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.01545, allocations: 0.9688 kB / 493.5 MB, free: 18.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006119/0.01606, allocations: 1.735 MB / 495.2 MB, free: 17.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01606, allocations: 1.188 kB / 495.2 MB, free: 17.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.0162, allocations: 245.6 kB / 495.4 MB, free: 16.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.682e-05/0.01622, allocations: 17.03 kB / 495.4 MB, free: 16.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.01623, allocations: 5.781 kB / 495.5 MB, free: 16.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.954e-05/0.01629, allocations: 12.72 kB / 495.5 MB, free: 16.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.862e-05/0.01631, allocations: 5.969 kB / 495.5 MB, free: 16.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.01632, allocations: 1.531 kB / 495.5 MB, free: 16.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.421e-05/0.01639, allocations: 172 kB / 495.6 MB, free: 16.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01639, allocations: 0 / 495.6 MB, free: 16.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002162/0.01661, allocations: 52.95 kB / 495.7 MB, free: 16.73 MB / 426.7 MB 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 8.782e-05/0.01669, allocations: 102.3 kB / 495.8 MB, free: 16.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002756/0.01697, allocations: 242.8 kB / 496 MB, free: 16.44 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.01697, allocations: 1.5 kB / 496 MB, free: 16.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.191e-05/0.01705, allocations: 204 kB / 496.2 MB, free: 16.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.0173, allocations: 26.98 kB / 496.3 MB, free: 16.24 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000657/0.01795, allocations: 350.2 kB / 496.6 MB, free: 16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.873e-05/0.018, allocations: 88.86 kB / 496.7 MB, free: 15.92 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.148e-05/0.01806, allocations: 21.7 kB / 496.7 MB, free: 15.92 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.714e-05/0.01809, allocations: 14.84 kB / 496.7 MB, free: 15.91 MB / 426.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01809, allocations: 1.625 kB / 496.7 MB, free: 15.91 MB / 426.7 MB Notification: Performance of Templates: time 0.003795/0.02189, allocations: 1.733 MB / 498.5 MB, free: 15.76 MB / 426.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4622373627498746]