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.0008293/0.0008293, allocations: 88.17 kB / 15.7 MB, free: 460 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.001107/0.001106, allocations: 177.2 kB / 16.58 MB, free: 6.852 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.394/1.394, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7358/0.7359, allocations: 115.5 MB / 407.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003677, allocations: 8 kB / 495.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1729, allocations: 77.52 MB / 0.5593 GB, free: 9.418 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02224/0.1952, allocations: 20.42 MB / 0.5793 GB, free: 4.938 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3316/0.5268, allocations: 16.39 MB / 0.5953 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003651/0.5305, allocations: 102.5 kB / 0.5954 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001912/0.5324, allocations: 0.56 MB / 0.5959 GB, free: 10.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01138/0.5438, allocations: 2.868 MB / 0.5987 GB, free: 9.707 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00419/0.548, allocations: 0.951 MB / 0.5996 GB, free: 9.668 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.011/0.559, allocations: 5.935 MB / 0.6054 GB, free: 8.555 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004083/0.5632, allocations: 2.069 MB / 0.6075 GB, free: 7.906 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00526/0.5684, allocations: 1.967 MB / 0.6094 GB, free: 7.234 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00596/0.5744, allocations: 2.22 MB / 0.6116 GB, free: 6.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001213/0.5757, allocations: 175.5 kB / 0.6117 GB, free: 6.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003113/0.5788, allocations: 0.5007 MB / 0.6122 GB, free: 6.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001263/0.5801, allocations: 0.9516 MB / 0.6131 GB, free: 5.902 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001799/0.5819, allocations: 0.6927 MB / 0.6138 GB, free: 5.535 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004797/0.5867, allocations: 3.933 MB / 0.6177 GB, free: 2.891 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.5867, allocations: 0 / 0.6177 GB, free: 2.891 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5867, allocations: 0 / 0.6177 GB, free: 2.891 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001477/0.5869, allocations: 0.9375 kB / 0.6177 GB, free: 2.891 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.008678/0.5955, allocations: 4.109 MB / 0.6217 GB, free: 172 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.5956, allocations: 9.094 kB / 0.6217 GB, free: 172 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01509/0.6107, allocations: 3.361 MB / 0.625 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004658/0.6154, allocations: 1.997 MB / 0.6269 GB, free: 13.34 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003522/0.6157, allocations: 475.5 kB / 0.6274 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005597/0.6163, allocations: 227.7 kB / 0.6276 GB, free: 12.87 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0107/0.627, allocations: 4.853 MB / 0.6323 GB, free: 9.648 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.593e-05/0.6271, allocations: 7.891 kB / 0.6323 GB, free: 9.641 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003316/0.6274, allocations: 106.6 kB / 0.6324 GB, free: 9.539 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002069/0.6277, allocations: 170.5 kB / 0.6326 GB, free: 9.371 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01238/0.64, allocations: 5.296 MB / 0.6378 GB, free: 4.059 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02029/0.6604, allocations: 14.59 MB / 0.652 GB, free: 4.395 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008685/0.6691, allocations: 3.675 MB / 0.6556 GB, free: 0.707 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003333/0.6724, allocations: 1.586 MB / 0.6572 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.6726, allocations: 20.52 kB / 0.6572 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003771/0.6764, allocations: 1.923 MB / 0.659 GB, free: 13.12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=163): time 3.377e-06/0.6764, allocations: 0 / 0.659 GB, free: 13.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=250): time 0.1151/0.7915, allocations: 34.1 MB / 0.6923 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000246/0.7917, allocations: 0.4889 MB / 0.6928 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003375/0.7951, allocations: 2.269 MB / 0.695 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004034/0.7956, allocations: 81.69 kB / 0.6951 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001207/0.7968, allocations: 1.441 MB / 0.6965 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008075/0.7976, allocations: 0.8135 MB / 0.6973 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/0.7978, allocations: 48 kB / 0.6974 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.798, allocations: 398.7 kB / 0.6977 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004957/0.8029, allocations: 2.108 MB / 0.6998 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005236/0.8082, allocations: 2.403 MB / 0.7022 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005351/0.8135, allocations: 2.288 MB / 0.7044 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/0.8136, allocations: 7.938 kB / 0.7044 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0175/0.8311, allocations: 6.884 MB / 0.7111 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.8312, allocations: 148.5 kB / 0.7113 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/0.8312, allocations: 8 kB / 0.7113 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009477/0.8407, allocations: 2.942 MB / 0.7141 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00285/0.8436, allocations: 0.5703 MB / 0.7147 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03654/0.8802, allocations: 17.32 MB / 0.7316 GB, free: 2.012 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00476/0.885, allocations: 419.6 kB / 0.732 GB, free: 1.602 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000601/0.8856, allocations: 91.95 kB / 0.7321 GB, free: 1.512 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.002206/0.8878, allocations: 0.7027 MB / 0.7328 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009959/0.8888, allocations: 340.9 kB / 0.7331 GB, free: 476 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.8899, allocations: 380.1 kB / 0.7335 GB, free: 88 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-05/0.8899, allocations: 27.95 kB / 0.7335 GB, free: 60 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.851e-05/0.89, allocations: 8 kB / 0.7335 GB, free: 52 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-05/0.89, allocations: 11.95 kB / 0.7335 GB, free: 40 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006353/0.8964, allocations: 3.629 MB / 0.7371 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.188e-05/0.8964, allocations: 0 / 0.7371 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002442/0.8989, allocations: 0.4994 MB / 0.7375 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009208/0.9081, allocations: 2.865 MB / 0.7403 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003243/0.9084, allocations: 51.97 kB / 0.7404 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04051/0.949, allocations: 17.11 MB / 0.7571 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.949, allocations: 0 / 0.7571 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0189/0.9679, allocations: 6.529 MB / 0.7635 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00237/0.9703, allocations: 0.7 MB / 0.7642 GB, free: 328 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001416/0.9718, allocations: 44 kB / 0.7642 GB, free: 284 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003965/0.9757, allocations: 411.5 kB / 0.7646 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001467/0.9772, allocations: 366.6 kB / 0.7649 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003627/0.9776, allocations: 71.97 kB / 0.765 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003267/0.9809, allocations: 1.511 MB / 0.7665 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9809, allocations: 0.5625 kB / 0.7665 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004735/0.9857, allocations: 1.043 MB / 0.7675 GB, free: 12.89 MB / 0.5919 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.0005486/0.9862, allocations: 171 kB / 0.7677 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02324/1.009, allocations: 6.825 MB / 0.7743 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.258e-06/1.01, allocations: 0 / 0.7743 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01675/1.026, allocations: 4.228 MB / 0.7785 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007279/1.034, allocations: 1.043 MB / 0.7795 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01974/1.053, allocations: 7.746 MB / 0.787 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00339/1.057, allocations: 2.223 MB / 0.7892 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.003576/1.06, allocations: 0.5138 MB / 0.7897 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/1.061, allocations: 175.4 kB / 0.7899 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of SimCode: time 1.172e-06/1.062, allocations: 0 / 0.7899 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of Templates: time 0.4777/1.539, allocations: 70.1 MB / 0.8583 GB, free: 206.4 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)