Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 99.16 kB / 16.4 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 196 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6888/0.6888, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 59.61 kB / 0.5577 GB, free: 32.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1443, allocations: 76.2 MB / 0.6321 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02239/0.1668, allocations: 22.6 MB / 0.6542 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02395/0.1908, allocations: 17.64 MB / 0.6714 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003441/0.1942, allocations: 111.4 kB / 0.6715 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.009937/0.2042, allocations: 4.179 MB / 0.6756 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01018/0.2144, allocations: 3.51 MB / 0.679 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003581/0.218, allocations: 1.316 MB / 0.6803 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007887/0.2259, allocations: 5.792 MB / 0.686 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00504/0.2309, allocations: 3.588 MB / 0.6895 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00375/0.2347, allocations: 2.476 MB / 0.6919 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004202/0.2389, allocations: 2.448 MB / 0.6943 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001075/0.24, allocations: 368 kB / 0.6946 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002547/0.2426, allocations: 1.033 MB / 0.6956 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001078/0.2436, allocations: 1.199 MB / 0.6968 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002178/0.2458, allocations: 1.998 MB / 0.6988 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0051/0.2509, allocations: 5.178 MB / 0.7038 GB, free: 10.67 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.251, allocations: 4 kB / 0.7038 GB, free: 10.66 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.052e-06/0.251, allocations: 0 / 0.7038 GB, free: 10.66 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.572e-05/0.251, allocations: 0 / 0.7038 GB, free: 10.66 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.008521/0.2596, allocations: 4.605 MB / 0.7083 GB, free: 5.945 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.2596, allocations: 8.031 kB / 0.7083 GB, free: 5.938 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01519/0.2748, allocations: 3.261 MB / 0.7115 GB, free: 2.668 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003826/0.2787, allocations: 2.228 MB / 0.7137 GB, free: 380 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000365/0.279, allocations: 470.3 kB / 0.7141 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004248/0.2795, allocations: 235.9 kB / 0.7144 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01097/0.2905, allocations: 4.806 MB / 0.7191 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.09e-05/0.2905, allocations: 11.98 kB / 0.7191 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000299/0.2908, allocations: 112 kB / 0.7192 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001717/0.291, allocations: 172.8 kB / 0.7193 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0129/0.3039, allocations: 5.194 MB / 0.7244 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02011/0.324, allocations: 14.39 MB / 0.7385 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009378/0.3335, allocations: 3.394 MB / 0.7418 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003497/0.337, allocations: 1.471 MB / 0.7432 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.3371, allocations: 25.28 kB / 0.7432 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3004/0.6375, allocations: 1.791 MB / 0.745 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=163): time 4.629e-06/0.6376, allocations: 1.094 kB / 0.745 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=250): time 0.1187/0.7563, allocations: 28.24 MB / 0.7726 GB, free: 93.42 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.7564, allocations: 0.4939 MB / 0.7731 GB, free: 92.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002241/0.7587, allocations: 2.288 MB / 0.7753 GB, free: 91.17 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002515/0.7589, allocations: 81.7 kB / 0.7754 GB, free: 91.08 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000764/0.7597, allocations: 1.433 MB / 0.7768 GB, free: 89.64 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005269/0.7602, allocations: 0.8216 MB / 0.7776 GB, free: 88.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006944/0.7609, allocations: 416.4 kB / 0.778 GB, free: 88.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.029e-05/0.761, allocations: 301.1 kB / 0.7782 GB, free: 88.11 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004481/0.7655, allocations: 1.929 MB / 0.7801 GB, free: 86.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004748/0.7702, allocations: 2.237 MB / 0.7823 GB, free: 83.86 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008888/0.7791, allocations: 4.158 MB / 0.7864 GB, free: 79.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.7792, allocations: 4 kB / 0.7864 GB, free: 79.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01577/0.7949, allocations: 6.534 MB / 0.7928 GB, free: 72.94 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.055e-05/0.795, allocations: 149.9 kB / 0.7929 GB, free: 72.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.795, allocations: 4 kB / 0.7929 GB, free: 72.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008489/0.8035, allocations: 2.93 MB / 0.7958 GB, free: 69.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002554/0.8061, allocations: 491.2 kB / 0.7962 GB, free: 69.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03161/0.8377, allocations: 18.83 MB / 0.8146 GB, free: 50.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003679/0.8414, allocations: 326.9 kB / 0.8149 GB, free: 49.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002144/0.8417, allocations: 94 kB / 0.815 GB, free: 49.89 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * 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): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.00116/0.8428, allocations: 0.7084 MB / 0.8157 GB, free: 49.17 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004214/0.8433, allocations: 328.1 kB / 0.816 GB, free: 48.85 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006125/0.8439, allocations: 384.1 kB / 0.8164 GB, free: 48.46 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.8439, allocations: 24 kB / 0.8164 GB, free: 48.44 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.523e-05/0.8439, allocations: 8 kB / 0.8164 GB, free: 48.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.844, allocations: 11.95 kB / 0.8164 GB, free: 48.42 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00317/0.8471, allocations: 3.641 MB / 0.82 GB, free: 44.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.8471, allocations: 0 / 0.82 GB, free: 44.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00221/0.8494, allocations: 415.3 kB / 0.8204 GB, free: 44.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008001/0.8574, allocations: 2.871 MB / 0.8232 GB, free: 41.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002035/0.8576, allocations: 51.97 kB / 0.8232 GB, free: 41.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03175/0.8893, allocations: 18.62 MB / 0.8414 GB, free: 22.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.8894, allocations: 0 / 0.8414 GB, free: 22.58 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01525/0.9046, allocations: 6.165 MB / 0.8474 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001265/0.9059, allocations: 0.6961 MB / 0.8481 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004667/0.9064, allocations: 53.34 kB / 0.8482 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002879/0.9093, allocations: 315.6 kB / 0.8485 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001009/0.9103, allocations: 354.7 kB / 0.8488 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001645/0.9105, allocations: 71.97 kB / 0.8489 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001569/0.9121, allocations: 1.536 MB / 0.8504 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9121, allocations: 0 / 0.8504 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002134/0.9142, allocations: 1.043 MB / 0.8514 GB, free: 12.31 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003154/0.9145, allocations: 167.5 kB / 0.8516 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0204/0.9349, allocations: 6.474 MB / 0.8579 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.935, allocations: 4.062 kB / 0.8579 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0153/0.9503, allocations: 4.049 MB / 0.8618 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004231/0.9545, allocations: 1.138 MB / 0.863 GB, free: 440 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01287/0.9674, allocations: 6.693 MB / 0.8695 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001824/0.9693, allocations: 2.232 MB / 0.8717 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002054/0.9713, allocations: 0.5059 MB / 0.8722 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006416/0.972, allocations: 183.4 kB / 0.8723 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of SimCode: time 2.034e-06/0.972, allocations: 0 / 0.8723 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of Templates: time 0.1093/1.081, allocations: 75.64 MB / 0.9462 GB, free: 12.01 MB / 0.67 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)