Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.003131/0.003131, allocations: 84.22 kB / 20.94 MB, free: 3.605 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.001188/0.001188, allocations: 169 kB / 24.25 MB, free: 304 kB / 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.9966/0.9966, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.6588/0.6588, allocations: 115 MB / 376 MB, free: 7.633 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.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel") translateModel(IBPSA.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0.5469 kB / 481.5 MB, free: 11.97 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.193e-05, allocations: 3.156 kB / 481.5 MB, free: 11.96 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.004209/0.004231, allocations: 4.446 MB / 485.9 MB, free: 9.191 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002116/0.006347, allocations: 1.891 MB / 487.8 MB, free: 7.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.006522, allocations: 16.66 kB / 487.8 MB, free: 7.973 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.007638, allocations: 0.6076 MB / 488.4 MB, free: 7.645 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004794/0.008118, allocations: 273.7 kB / 488.7 MB, free: 7.484 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004409/0.008559, allocations: 259.6 kB / 489 MB, free: 7.355 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007458/0.009305, allocations: 0.6257 MB / 489.6 MB, free: 7.066 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005345/0.009839, allocations: 344.3 kB / 489.9 MB, free: 6.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000374/0.01021, allocations: 359.9 kB / 490.3 MB, free: 6.766 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004704/0.01068, allocations: 236.5 kB / 490.5 MB, free: 6.699 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.395e-05/0.01075, allocations: 37.97 kB / 490.6 MB, free: 6.699 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000391/0.01114, allocations: 239.7 kB / 490.8 MB, free: 6.621 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.01132, allocations: 162.2 kB / 490.9 MB, free: 6.543 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001869/0.0115, allocations: 158.2 kB / 491.1 MB, free: 6.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006751/0.01218, allocations: 480.2 kB / 491.6 MB, free: 6.297 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.01218, allocations: 0.625 kB / 491.6 MB, free: 6.297 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01218, allocations: 0 / 491.6 MB, free: 6.297 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.0122, allocations: 0.5 kB / 491.6 MB, free: 6.297 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001033/0.01323, allocations: 0.7591 MB / 492.3 MB, free: 5.715 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.01328, allocations: 14.81 kB / 492.3 MB, free: 5.711 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007334/0.01401, allocations: 217 kB / 492.6 MB, free: 5.656 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.01434, allocations: 290.6 kB / 492.8 MB, free: 5.441 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.01437, allocations: 31.38 kB / 492.9 MB, free: 5.426 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.72e-05/0.01442, allocations: 37.25 kB / 492.9 MB, free: 5.414 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004644/0.01489, allocations: 0.528 MB / 493.4 MB, free: 5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.0149, allocations: 1.094 kB / 493.4 MB, free: 5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.01493, allocations: 12.91 kB / 493.4 MB, free: 4.992 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.152e-05/0.01498, allocations: 38.91 kB / 493.5 MB, free: 4.984 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002767/0.01526, allocations: 165.7 kB / 493.6 MB, free: 4.953 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.01679, allocations: 2.034 MB / 495.7 MB, free: 19.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003417/0.01714, allocations: 190.3 kB / 495.9 MB, free: 19.17 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.473e-05/0.01722, allocations: 58.77 kB / 495.9 MB, free: 19.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.01723, allocations: 2.5 kB / 495.9 MB, free: 19.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.01725, allocations: 40.11 kB / 496 MB, free: 19.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 2.465e-06/0.01725, allocations: 3.984 kB / 496 MB, free: 19.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.001225/0.01848, allocations: 0.6877 MB / 496.7 MB, free: 18.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.077e-05/0.0185, allocations: 54.06 kB / 496.7 MB, free: 18.65 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.0187, allocations: 315.9 kB / 497 MB, free: 18.44 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.01872, allocations: 31.42 kB / 497 MB, free: 18.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.01883, allocations: 287 kB / 497.3 MB, free: 18.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/0.01887, allocations: 88.44 kB / 497.4 MB, free: 18.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.914e-05/0.01894, allocations: 71.05 kB / 497.5 MB, free: 18.03 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.01906, allocations: 0.5104 MB / 498 MB, free: 17.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.562e-05/0.01915, allocations: 44.83 kB / 498 MB, free: 17.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.01926, allocations: 166 kB / 498.2 MB, free: 17.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.01946, allocations: 242.2 kB / 498.4 MB, free: 17.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01946, allocations: 1.375 kB / 498.4 MB, free: 17.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004137/0.01988, allocations: 331.4 kB / 498.8 MB, free: 17.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.0199, allocations: 6.25 kB / 498.8 MB, free: 17.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.0199, allocations: 2.906 kB / 498.8 MB, free: 17.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003529/0.02026, allocations: 127.4 kB / 498.9 MB, free: 16.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.02041, allocations: 63.58 kB / 499 MB, free: 16.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002474/0.02289, allocations: 5.287 MB / 0.4924 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.023, allocations: 15.77 kB / 0.4924 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.02302, allocations: 18.55 kB / 0.4925 GB, free: 11.62 MB / 426.7 MB 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.0001337/0.02315, allocations: 177.1 kB / 0.4926 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.313e-05/0.02321, allocations: 34.98 kB / 0.4927 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.36e-05/0.02324, allocations: 35.97 kB / 0.4927 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.02324, allocations: 2.969 kB / 0.4927 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.02325, allocations: 1.219 kB / 0.4927 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.02325, allocations: 1.625 kB / 0.4927 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.02349, allocations: 267.5 kB / 0.493 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.0235, allocations: 0.9062 kB / 0.493 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.0236, allocations: 33.22 kB / 0.493 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002783/0.02388, allocations: 125.5 kB / 0.4931 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.02389, allocations: 2.094 kB / 0.4931 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001968/0.02586, allocations: 5.287 MB / 0.4983 GB, free: 5.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.02586, allocations: 1.125 kB / 0.4983 GB, free: 5.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004374/0.0263, allocations: 442.9 kB / 0.4987 GB, free: 5.543 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.732e-05/0.02637, allocations: 44.62 kB / 0.4987 GB, free: 5.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.02639, allocations: 5.375 kB / 0.4987 GB, free: 5.516 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.655e-05/0.02648, allocations: 14.91 kB / 0.4988 GB, free: 5.512 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.02652, allocations: 18.47 kB / 0.4988 GB, free: 5.512 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.02653, allocations: 8.062 kB / 0.4988 GB, free: 5.508 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001306/0.02666, allocations: 215.3 kB / 0.499 GB, free: 5.367 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02666, allocations: 0 / 0.499 GB, free: 5.367 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003284/0.02699, allocations: 102.1 kB / 0.4991 GB, free: 5.352 MB / 426.7 MB 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 0.000112/0.0271, allocations: 101.3 kB / 0.4992 GB, free: 5.262 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005827/0.02768, allocations: 0.6708 MB / 0.4998 GB, free: 4.695 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.02769, allocations: 1.25 kB / 0.4998 GB, free: 4.695 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003247/0.02801, allocations: 0.5915 MB / 0.5004 GB, free: 4.145 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.02835, allocations: 62.55 kB / 0.5005 GB, free: 4.121 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.02945, allocations: 0.6566 MB / 0.5011 GB, free: 3.723 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.02956, allocations: 132.3 kB / 0.5012 GB, free: 3.645 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.02969, allocations: 53.89 kB / 0.5013 GB, free: 3.637 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.373e-05/0.02974, allocations: 23.39 kB / 0.5013 GB, free: 3.629 MB / 426.7 MB Notification: Performance of SimCode: time 1.153e-06/0.02974, allocations: 0.625 kB / 0.5013 GB, free: 3.629 MB / 426.7 MB Notification: Performance of Templates: time 0.007658/0.0374, allocations: 4.41 MB / 0.5056 GB, free: 2.426 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7067198490258306]