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.001294/0.001294, allocations: 95.41 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001484/0.001485, allocations: 174.9 kB / 16.56 MB, free: 6.391 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.37/1.37, allocations: 223.2 MB / 240.5 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6739/0.6739, allocations: 113.8 MB / 405.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.0003249, allocations: 9.812 kB / 493 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1516, allocations: 77.17 MB / 0.5568 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.0192/0.1708, allocations: 19.16 MB / 0.5755 GB, free: 8.387 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3896/0.5604, allocations: 16.04 MB / 0.5912 GB, free: 10.83 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004124/0.5646, allocations: 92.81 kB / 0.5913 GB, free: 10.83 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002824/0.5675, allocations: 0.5479 MB / 0.5918 GB, free: 10.83 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01257/0.5801, allocations: 2.829 MB / 0.5946 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00464/0.5847, allocations: 0.9386 MB / 0.5955 GB, free: 10.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01251/0.5972, allocations: 3.423 MB / 0.5989 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00566/0.603, allocations: 2.069 MB / 0.6009 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006227/0.6092, allocations: 1.815 MB / 0.6027 GB, free: 9.977 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005998/0.6152, allocations: 1.79 MB / 0.6044 GB, free: 9.629 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001779/0.6171, allocations: 180.3 kB / 0.6046 GB, free: 9.625 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003968/0.621, allocations: 487.8 kB / 0.605 GB, free: 9.613 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001964/0.623, allocations: 0.8842 MB / 0.6059 GB, free: 9.492 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002913/0.626, allocations: 0.6903 MB / 0.6066 GB, free: 9.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007685/0.6337, allocations: 3.901 MB / 0.6104 GB, free: 8.324 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.6337, allocations: 0.9688 kB / 0.6104 GB, free: 8.324 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.6337, allocations: 0 / 0.6104 GB, free: 8.324 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002008/0.6339, allocations: 0 / 0.6104 GB, free: 8.324 MB / 446.1 MB 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.01245/0.6464, allocations: 4.106 MB / 0.6144 GB, free: 5.848 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.6464, allocations: 12.77 kB / 0.6144 GB, free: 5.844 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01752/0.6639, allocations: 3.41 MB / 0.6177 GB, free: 4.391 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006651/0.6706, allocations: 1.987 MB / 0.6197 GB, free: 3.035 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003814/0.6711, allocations: 465 kB / 0.6201 GB, free: 2.637 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008976/0.672, allocations: 235.8 kB / 0.6203 GB, free: 2.562 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01162/0.6836, allocations: 4.837 MB / 0.6251 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.072e-05/0.6837, allocations: 0 / 0.6251 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003743/0.6841, allocations: 101.6 kB / 0.6252 GB, free: 15.66 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002288/0.6843, allocations: 178.3 kB / 0.6253 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01462/0.6989, allocations: 5.298 MB / 0.6305 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03095/0.7299, allocations: 14.6 MB / 0.6448 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01047/0.7404, allocations: 3.671 MB / 0.6484 GB, free: 9.055 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002124/0.7407, allocations: 24.89 kB / 0.6484 GB, free: 9.035 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004835/0.7455, allocations: 1.909 MB / 0.6502 GB, free: 7.066 MB / 478.1 MB Notification: Performance of pre-optimization done (n=163): time 3.747e-06/0.7456, allocations: 0 / 0.6502 GB, free: 7.066 MB / 478.1 MB Notification: Performance of matching and sorting (n=250): time 0.1327/0.8783, allocations: 34.09 MB / 0.6835 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002449/0.8786, allocations: 0.4951 MB / 0.684 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003616/0.8822, allocations: 2.281 MB / 0.6862 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004573/0.8827, allocations: 77.7 kB / 0.6863 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001244/0.8839, allocations: 1.433 MB / 0.6877 GB, free: 360 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001092/0.885, allocations: 0.8217 MB / 0.6885 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/0.8852, allocations: 48 kB / 0.6886 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002132/0.8855, allocations: 394.7 kB / 0.6889 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005365/0.8908, allocations: 2.108 MB / 0.691 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005619/0.8965, allocations: 2.403 MB / 0.6933 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005415/0.9019, allocations: 2.284 MB / 0.6956 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.9019, allocations: 0 / 0.6956 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01841/0.9204, allocations: 6.887 MB / 0.7023 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.9205, allocations: 148.5 kB / 0.7024 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/0.9206, allocations: 5.969 kB / 0.7025 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009797/0.9304, allocations: 2.944 MB / 0.7053 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003069/0.9335, allocations: 0.5696 MB / 0.7059 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03991/0.9734, allocations: 18.15 MB / 0.7236 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00513/0.9786, allocations: 423.6 kB / 0.724 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005559/0.9792, allocations: 87.97 kB / 0.7241 GB, free: 10.64 MB / 0.545 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,45.0%) 52} * Non-linear torn systems: 1 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.002396/0.9816, allocations: 0.709 MB / 0.7248 GB, free: 9.926 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008433/0.9824, allocations: 332.2 kB / 0.7251 GB, free: 9.598 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007551/0.9832, allocations: 388.1 kB / 0.7255 GB, free: 9.211 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/0.9832, allocations: 27.94 kB / 0.7255 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.079e-05/0.9833, allocations: 8 kB / 0.7255 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-05/0.9833, allocations: 15.91 kB / 0.7255 GB, free: 9.16 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005378/0.9887, allocations: 3.615 MB / 0.7291 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.9887, allocations: 1.969 kB / 0.7291 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0026/0.9913, allocations: 0.5033 MB / 0.7295 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009551/1.001, allocations: 2.868 MB / 0.7323 GB, free: 2.152 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004281/1.001, allocations: 52.84 kB / 0.7324 GB, free: 2.102 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03776/1.039, allocations: 17.95 MB / 0.7499 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.039, allocations: 0 / 0.7499 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01818/1.057, allocations: 6.524 MB / 0.7563 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002686/1.06, allocations: 0.6999 MB / 0.757 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008583/1.061, allocations: 44 kB / 0.757 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003639/1.065, allocations: 415.6 kB / 0.7574 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001225/1.066, allocations: 362.6 kB / 0.7578 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002238/1.066, allocations: 71.97 kB / 0.7578 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002333/1.068, allocations: 1.505 MB / 0.7593 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.7e-07/1.068, allocations: 0 / 0.7593 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003566/1.072, allocations: 1.047 MB / 0.7603 GB, free: 5.191 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 62} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003927/1.072, allocations: 167.1 kB / 0.7605 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02266/1.095, allocations: 6.823 MB / 0.7671 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.996e-06/1.095, allocations: 0 / 0.7671 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01717/1.112, allocations: 4.232 MB / 0.7713 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005209/1.118, allocations: 1.003 MB / 0.7723 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01664/1.134, allocations: 7.749 MB / 0.7798 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002481/1.137, allocations: 2.289 MB / 0.7821 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002831/1.14, allocations: 0.5099 MB / 0.7826 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006987/1.14, allocations: 175.4 kB / 0.7827 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of SimCode: time 1.703e-06/1.14, allocations: 0 / 0.7827 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of Templates: time 0.4263/1.567, allocations: 70.04 MB / 0.8511 GB, free: 205.8 MB / 0.6387 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)