Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.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.0015/0.0015, allocations: 96.09 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.002024/0.002024, allocations: 165 kB / 23.79 MB, free: 0.7773 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 1.062/1.062, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.5992/0.5992, 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.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.205e-06/2.205e-06, allocations: 0 / 481.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.749e-05/1.97e-05, allocations: 2.312 kB / 481.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.003295/0.003315, allocations: 3.063 MB / 484.5 MB, free: 9.957 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.004751, allocations: 1.198 MB / 485.7 MB, free: 9.168 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.004877, allocations: 11.62 kB / 485.8 MB, free: 9.164 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004627/0.00534, allocations: 124.5 kB / 485.9 MB, free: 9.102 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.005624, allocations: 201.7 kB / 486.1 MB, free: 8.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.005948, allocations: 215.1 kB / 486.3 MB, free: 8.879 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004539/0.006402, allocations: 0.5744 MB / 486.9 MB, free: 8.617 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004738/0.006876, allocations: 340 kB / 487.2 MB, free: 8.457 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002756/0.007152, allocations: 324.8 kB / 487.5 MB, free: 8.324 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004017/0.007553, allocations: 231.6 kB / 487.7 MB, free: 8.258 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.813e-05/0.007621, allocations: 35.94 kB / 487.8 MB, free: 8.258 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.007827, allocations: 105.1 kB / 487.9 MB, free: 8.234 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.007962, allocations: 167.3 kB / 488 MB, free: 8.152 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.008106, allocations: 139.2 kB / 488.2 MB, free: 8.098 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004379/0.008544, allocations: 383.8 kB / 488.5 MB, free: 7.941 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.008546, allocations: 1.156 kB / 488.5 MB, free: 7.941 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.008547, allocations: 3.938 kB / 488.6 MB, free: 7.938 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.008555, allocations: 3.234 kB / 488.6 MB, free: 7.938 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0007937/0.009349, allocations: 0.7095 MB / 489.3 MB, free: 7.391 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.009384, allocations: 9.562 kB / 489.3 MB, free: 7.391 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004973/0.009882, allocations: 162.7 kB / 489.4 MB, free: 7.348 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.01015, allocations: 241.4 kB / 489.7 MB, free: 7.156 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.331e-05/0.0102, allocations: 56.02 kB / 489.7 MB, free: 7.113 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.098e-05/0.01024, allocations: 32.91 kB / 489.8 MB, free: 7.105 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004845/0.01073, allocations: 476 kB / 490.2 MB, free: 6.781 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.01074, allocations: 1.219 kB / 490.2 MB, free: 6.781 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.01077, allocations: 20.75 kB / 490.2 MB, free: 6.766 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.667e-05/0.01082, allocations: 27.25 kB / 490.3 MB, free: 6.766 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.01108, allocations: 155.8 kB / 490.4 MB, free: 6.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.01243, allocations: 1.543 MB / 492 MB, free: 21.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004062/0.01283, allocations: 174.9 kB / 492.1 MB, free: 21.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.013, allocations: 86.81 kB / 492.2 MB, free: 21.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.01303, allocations: 11.05 kB / 492.2 MB, free: 21.42 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.01305, allocations: 40.08 kB / 492.3 MB, free: 21.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 1.503e-06/0.01305, allocations: 0 / 492.3 MB, free: 21.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007122/0.01376, allocations: 297.2 kB / 492.6 MB, free: 21.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.152e-05/0.01378, allocations: 60.84 kB / 492.6 MB, free: 21.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.01394, allocations: 258 kB / 492.9 MB, free: 21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.01395, allocations: 27.27 kB / 492.9 MB, free: 20.97 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.888e-05/0.01405, allocations: 264.5 kB / 493.2 MB, free: 20.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.01409, allocations: 66.66 kB / 493.2 MB, free: 20.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.918e-05/0.01416, allocations: 58.14 kB / 493.3 MB, free: 20.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.01428, allocations: 0.5027 MB / 493.8 MB, free: 20.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.698e-05/0.01437, allocations: 44.84 kB / 493.8 MB, free: 20.13 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.01449, allocations: 215.5 kB / 494 MB, free: 19.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.01466, allocations: 200.1 kB / 494.2 MB, free: 19.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.01466, allocations: 2.281 kB / 494.2 MB, free: 19.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003994/0.01506, allocations: 278.4 kB / 494.5 MB, free: 19.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.01508, allocations: 8.688 kB / 494.5 MB, free: 19.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.01508, allocations: 2.25 kB / 494.5 MB, free: 19.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004576/0.01554, allocations: 146.2 kB / 494.7 MB, free: 19.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.01565, allocations: 52 kB / 494.7 MB, free: 19.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/0.01752, allocations: 3.601 MB / 498.3 MB, free: 16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.01764, allocations: 29.72 kB / 498.3 MB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.01765, allocations: 8.312 kB / 498.3 MB, free: 15.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001183/0.01777, allocations: 168.4 kB / 498.5 MB, free: 15.85 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001128/0.01788, allocations: 217.2 kB / 498.7 MB, free: 15.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000159/0.01804, allocations: 202.6 kB / 498.9 MB, free: 15.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.994e-06/0.01804, allocations: 1.188 kB / 498.9 MB, free: 15.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.000371/0.01841, allocations: 277.6 kB / 499.2 MB, free: 15.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/0.01842, allocations: 5.25 kB / 499.2 MB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.01842, allocations: 3.375 kB / 499.2 MB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002818/0.01871, allocations: 118.7 kB / 499.3 MB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.01881, allocations: 50.83 kB / 499.4 MB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001687/0.0205, allocations: 3.56 MB / 0.4911 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.02061, allocations: 33.5 kB / 0.4912 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.02062, allocations: 12.16 kB / 0.4912 GB, free: 11.72 MB / 426.7 MB 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.02073, allocations: 283.1 kB / 0.4915 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.02076, allocations: 22.5 kB / 0.4915 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.231e-05/0.02078, allocations: 33.47 kB / 0.4915 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.02079, allocations: 3.281 kB / 0.4915 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.02079, allocations: 0 / 0.4915 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.02079, allocations: 7.938 kB / 0.4915 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00063/0.02142, allocations: 0.619 MB / 0.4921 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.02143, allocations: 1.406 kB / 0.4921 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.06e-05/0.0215, allocations: 29.14 kB / 0.4922 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002823/0.02178, allocations: 120.5 kB / 0.4923 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.02179, allocations: 8.469 kB / 0.4923 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001541/0.02333, allocations: 3.561 MB / 0.4958 GB, free: 7.367 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.02333, allocations: 1.188 kB / 0.4958 GB, free: 7.367 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003307/0.02366, allocations: 375.7 kB / 0.4961 GB, free: 7.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-05/0.02372, allocations: 39.09 kB / 0.4961 GB, free: 7.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.02373, allocations: 6.969 kB / 0.4962 GB, free: 7.066 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.42e-05/0.02381, allocations: 12.03 kB / 0.4962 GB, free: 7.059 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-05/0.02386, allocations: 25.27 kB / 0.4962 GB, free: 7.051 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.02387, allocations: 5 kB / 0.4962 GB, free: 7.051 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.021e-05/0.02396, allocations: 181 kB / 0.4964 GB, free: 6.918 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02396, allocations: 2.656 kB / 0.4964 GB, free: 6.918 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004264/0.02439, allocations: 175.4 kB / 0.4965 GB, free: 6.871 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * 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 8.823e-05/0.02448, allocations: 103.6 kB / 0.4966 GB, free: 6.777 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009677/0.02545, allocations: 0.9579 MB / 0.4976 GB, free: 6.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.02545, allocations: 3.938 kB / 0.4976 GB, free: 6.016 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003348/0.02578, allocations: 440.3 kB / 0.498 GB, free: 5.648 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.02606, allocations: 61.2 kB / 0.4981 GB, free: 5.625 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009017/0.02696, allocations: 0.5649 MB / 0.4986 GB, free: 5.258 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.359e-05/0.02703, allocations: 123.2 kB / 0.4987 GB, free: 5.176 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001156/0.02715, allocations: 42.95 kB / 0.4988 GB, free: 5.172 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.658e-05/0.02719, allocations: 22.81 kB / 0.4988 GB, free: 5.164 MB / 426.7 MB Notification: Performance of SimCode: time 4.81e-07/0.02719, allocations: 0 / 0.4988 GB, free: 5.164 MB / 426.7 MB Notification: Performance of Templates: time 0.008181/0.03538, allocations: 4.725 MB / 0.5034 GB, free: 4.117 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7616376909427345]