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.00163/0.00163, allocations: 109.7 kB / 16.41 MB, free: 6.496 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.001949/0.001949, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.411/1.411, 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.7684/0.7684, allocations: 115.3 MB / 406.5 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 64.08 kB / 0.5577 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1756, allocations: 76.19 MB / 0.6321 GB, free: 4.379 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02623/0.2018, allocations: 22.6 MB / 0.6542 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02823/0.2301, allocations: 17.65 MB / 0.6714 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004559/0.2347, allocations: 111.4 kB / 0.6715 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.01148/0.2462, allocations: 4.16 MB / 0.6756 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01347/0.2597, allocations: 3.588 MB / 0.6791 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004676/0.2644, allocations: 1.316 MB / 0.6804 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01049/0.2749, allocations: 5.788 MB / 0.686 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007304/0.2823, allocations: 3.596 MB / 0.6895 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005515/0.2878, allocations: 2.48 MB / 0.692 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006338/0.2942, allocations: 2.448 MB / 0.6944 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001756/0.296, allocations: 368 kB / 0.6947 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003785/0.2998, allocations: 1.041 MB / 0.6957 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002135/0.3019, allocations: 1.199 MB / 0.6969 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.004919/0.3069, allocations: 1.994 MB / 0.6988 GB, free: 15.76 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.008837/0.3157, allocations: 5.171 MB / 0.7039 GB, free: 10.57 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3158, allocations: 0 / 0.7039 GB, free: 10.57 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3158, allocations: 0 / 0.7039 GB, free: 10.57 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002151/0.316, allocations: 0 / 0.7039 GB, free: 10.57 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.0141/0.3301, allocations: 4.612 MB / 0.7084 GB, free: 5.848 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.3302, allocations: 11.97 kB / 0.7084 GB, free: 5.836 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01735/0.3475, allocations: 3.261 MB / 0.7116 GB, free: 2.566 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005315/0.3529, allocations: 2.232 MB / 0.7138 GB, free: 272 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004825/0.3534, allocations: 466.2 kB / 0.7142 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001104/0.3545, allocations: 247.8 kB / 0.7144 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01434/0.3689, allocations: 4.802 MB / 0.7191 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.11e-05/0.369, allocations: 3.938 kB / 0.7191 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007132/0.3697, allocations: 108 kB / 0.7192 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002439/0.3699, allocations: 172.8 kB / 0.7194 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01509/0.385, allocations: 5.195 MB / 0.7245 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02477/0.4098, allocations: 14.38 MB / 0.7385 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01015/0.42, allocations: 3.402 MB / 0.7419 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003815/0.4239, allocations: 1.471 MB / 0.7433 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/0.4241, allocations: 21.3 kB / 0.7433 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3463/0.7704, allocations: 1.783 MB / 0.7451 GB, free: 101.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=163): time 4.729e-06/0.7705, allocations: 2.156 kB / 0.7451 GB, free: 101.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=250): time 0.13/0.9005, allocations: 28.25 MB / 0.7726 GB, free: 93.32 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001611/0.9007, allocations: 498.4 kB / 0.7731 GB, free: 92.76 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002932/0.9036, allocations: 2.299 MB / 0.7754 GB, free: 91.04 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004506/0.9041, allocations: 77.7 kB / 0.7754 GB, free: 90.96 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009573/0.905, allocations: 1.429 MB / 0.7768 GB, free: 89.52 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006942/0.9057, allocations: 0.8199 MB / 0.7776 GB, free: 88.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007461/0.9065, allocations: 420.4 kB / 0.778 GB, free: 88.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.309e-05/0.9066, allocations: 301.1 kB / 0.7783 GB, free: 87.99 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004524/0.9111, allocations: 1.929 MB / 0.7802 GB, free: 86.05 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004681/0.9158, allocations: 2.233 MB / 0.7824 GB, free: 83.74 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008991/0.9248, allocations: 4.158 MB / 0.7864 GB, free: 79.45 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.9248, allocations: 4 kB / 0.7864 GB, free: 79.44 MB / 0.5762 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01617/0.941, allocations: 6.536 MB / 0.7928 GB, free: 72.81 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.9412, allocations: 144.5 kB / 0.793 GB, free: 72.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.236e-05/0.9412, allocations: 8 kB / 0.793 GB, free: 72.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008777/0.95, allocations: 2.93 MB / 0.7958 GB, free: 69.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002724/0.9527, allocations: 487.2 kB / 0.7963 GB, free: 69.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03414/0.9869, allocations: 18.84 MB / 0.8147 GB, free: 50.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004116/0.991, allocations: 323.6 kB / 0.815 GB, free: 49.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003306/0.9914, allocations: 87.98 kB / 0.8151 GB, free: 49.77 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.001417/0.9928, allocations: 0.708 MB / 0.8158 GB, free: 49.05 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005516/0.9934, allocations: 332.1 kB / 0.8161 GB, free: 48.73 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006718/0.9941, allocations: 384.1 kB / 0.8165 GB, free: 48.34 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.9941, allocations: 24 kB / 0.8165 GB, free: 48.32 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.557e-05/0.9941, allocations: 13.41 kB / 0.8165 GB, free: 48.31 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/0.9941, allocations: 11.95 kB / 0.8165 GB, free: 48.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003713/0.9979, allocations: 3.634 MB / 0.8201 GB, free: 44.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.9979, allocations: 0 / 0.8201 GB, free: 44.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00233/1, allocations: 419.3 kB / 0.8205 GB, free: 44.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008728/1.009, allocations: 2.866 MB / 0.8233 GB, free: 41.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004704/1.009, allocations: 51.97 kB / 0.8233 GB, free: 41.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03346/1.043, allocations: 18.61 MB / 0.8415 GB, free: 22.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/1.043, allocations: 6.734 kB / 0.8415 GB, free: 22.46 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01618/1.059, allocations: 6.173 MB / 0.8475 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001616/1.061, allocations: 0.7 MB / 0.8482 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005705/1.061, allocations: 47.94 kB / 0.8483 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003075/1.064, allocations: 311.6 kB / 0.8486 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001081/1.066, allocations: 358.7 kB / 0.8489 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001734/1.066, allocations: 75.91 kB / 0.849 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001724/1.067, allocations: 1.532 MB / 0.8505 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/1.067, allocations: 0 / 0.8505 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002468/1.07, allocations: 1.043 MB / 0.8515 GB, free: 12.19 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.0003628/1.07, allocations: 164.2 kB / 0.8516 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0213/1.092, allocations: 6.472 MB / 0.858 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/1.092, allocations: 4 kB / 0.858 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01627/1.108, allocations: 4.056 MB / 0.8619 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005201/1.113, allocations: 1.131 MB / 0.863 GB, free: 316 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/1.128, allocations: 6.693 MB / 0.8696 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002022/1.13, allocations: 2.234 MB / 0.8717 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002436/1.133, allocations: 0.5088 MB / 0.8722 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006773/1.133, allocations: 191.3 kB / 0.8724 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of SimCode: time 8.41e-07/1.133, allocations: 0 / 0.8724 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of Templates: time 0.1194/1.253, allocations: 75.64 MB / 0.9463 GB, free: 11.9 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)