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.001105/0.001105, allocations: 115.5 kB / 17.08 MB, free: 6.012 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.001037/0.001037, allocations: 195 kB / 18.02 MB, free: 5.094 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.308/1.308, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7497/0.7497, allocations: 115.3 MB / 407.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 62.02 kB / 0.5584 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1545, allocations: 76.18 MB / 0.6328 GB, free: 4.492 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02663/0.1812, allocations: 22.6 MB / 0.6548 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02677/0.208, allocations: 17.64 MB / 0.6721 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003934/0.2119, allocations: 111.4 kB / 0.6722 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.01105/0.223, allocations: 4.18 MB / 0.6762 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01328/0.2363, allocations: 3.586 MB / 0.6797 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004456/0.2408, allocations: 1.32 MB / 0.681 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009586/0.2504, allocations: 5.785 MB / 0.6867 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005783/0.2562, allocations: 3.588 MB / 0.6902 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005187/0.2614, allocations: 2.484 MB / 0.6926 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005607/0.2671, allocations: 2.455 MB / 0.695 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0013/0.2684, allocations: 368 kB / 0.6954 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003269/0.2717, allocations: 1.041 MB / 0.6964 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001698/0.2734, allocations: 1.188 MB / 0.6975 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003962/0.2774, allocations: 1.99 MB / 0.6995 GB, free: 15.87 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.009431/0.2868, allocations: 5.178 MB / 0.7045 GB, free: 10.68 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.2869, allocations: 0 / 0.7045 GB, free: 10.68 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.384e-06/0.2869, allocations: 0 / 0.7045 GB, free: 10.68 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.000215/0.2871, allocations: 4 kB / 0.7045 GB, free: 10.68 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.01418/0.3013, allocations: 4.609 MB / 0.709 GB, free: 5.953 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.3014, allocations: 12.03 kB / 0.7091 GB, free: 5.941 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01647/0.3178, allocations: 3.261 MB / 0.7122 GB, free: 2.672 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0051/0.323, allocations: 2.236 MB / 0.7144 GB, free: 376 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004818/0.3235, allocations: 466.2 kB / 0.7149 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009362/0.3245, allocations: 235.9 kB / 0.7151 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01334/0.3378, allocations: 4.81 MB / 0.7198 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.271e-05/0.3379, allocations: 3.938 kB / 0.7198 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003827/0.3383, allocations: 104 kB / 0.7199 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000226/0.3385, allocations: 172.8 kB / 0.7201 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01456/0.3531, allocations: 5.195 MB / 0.7251 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02614/0.3793, allocations: 14.39 MB / 0.7392 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009981/0.3893, allocations: 3.394 MB / 0.7425 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003885/0.3932, allocations: 1.471 MB / 0.7439 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001603/0.3934, allocations: 21.3 kB / 0.744 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3776/0.771, allocations: 1.788 MB / 0.7457 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=163): time 4.258e-06/0.7711, allocations: 0 / 0.7457 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=250): time 0.124/0.8951, allocations: 28.25 MB / 0.7733 GB, free: 92.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.8952, allocations: 0.4958 MB / 0.7738 GB, free: 92.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002566/0.8978, allocations: 2.294 MB / 0.776 GB, free: 90.24 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004017/0.8982, allocations: 83.84 kB / 0.7761 GB, free: 90.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008313/0.899, allocations: 1.425 MB / 0.7775 GB, free: 88.72 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005972/0.8996, allocations: 0.8161 MB / 0.7783 GB, free: 87.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007115/0.9004, allocations: 420.4 kB / 0.7787 GB, free: 87.49 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.948e-05/0.9004, allocations: 301.1 kB / 0.779 GB, free: 87.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004679/0.9051, allocations: 1.933 MB / 0.7809 GB, free: 85.26 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004844/0.9099, allocations: 2.229 MB / 0.783 GB, free: 82.95 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009333/0.9193, allocations: 4.167 MB / 0.7871 GB, free: 78.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.9193, allocations: 0 / 0.7871 GB, free: 78.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01679/0.9361, allocations: 6.537 MB / 0.7935 GB, free: 72.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.326e-05/0.9362, allocations: 148.5 kB / 0.7936 GB, free: 71.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.9363, allocations: 8 kB / 0.7936 GB, free: 71.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008888/0.9452, allocations: 2.923 MB / 0.7965 GB, free: 68.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002799/0.948, allocations: 483.2 kB / 0.797 GB, free: 68.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03388/0.9819, allocations: 18.85 MB / 0.8154 GB, free: 49.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004251/0.9862, allocations: 323.6 kB / 0.8157 GB, free: 49.06 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003833/0.9866, allocations: 87.97 kB / 0.8158 GB, free: 48.97 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.001525/0.9881, allocations: 0.7034 MB / 0.8164 GB, free: 48.26 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006418/0.9888, allocations: 332.1 kB / 0.8168 GB, free: 47.93 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007003/0.9895, allocations: 380.6 kB / 0.8171 GB, free: 47.55 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.9895, allocations: 31.98 kB / 0.8172 GB, free: 47.52 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-05/0.9896, allocations: 8 kB / 0.8172 GB, free: 47.51 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.705e-05/0.9896, allocations: 11.95 kB / 0.8172 GB, free: 47.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003763/0.9933, allocations: 3.632 MB / 0.8207 GB, free: 43.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.9934, allocations: 0 / 0.8207 GB, free: 43.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002242/0.9956, allocations: 419.3 kB / 0.8211 GB, free: 43.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008143/1.004, allocations: 2.866 MB / 0.8239 GB, free: 40.61 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003206/1.004, allocations: 48.81 kB / 0.824 GB, free: 40.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03328/1.037, allocations: 18.62 MB / 0.8421 GB, free: 21.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.037, allocations: 0 / 0.8421 GB, free: 21.66 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01621/1.054, allocations: 6.177 MB / 0.8482 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001983/1.056, allocations: 0.7 MB / 0.8489 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000743/1.056, allocations: 47.94 kB / 0.8489 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003217/1.06, allocations: 311.6 kB / 0.8492 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001104/1.061, allocations: 362.7 kB / 0.8496 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000183/1.061, allocations: 67.97 kB / 0.8496 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001784/1.063, allocations: 1.536 MB / 0.8511 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.01e-07/1.063, allocations: 0 / 0.8511 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002779/1.066, allocations: 1.039 MB / 0.8521 GB, free: 11.39 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.000379/1.066, allocations: 172.2 kB / 0.8523 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02153/1.088, allocations: 6.475 MB / 0.8586 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/1.088, allocations: 0 / 0.8586 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01607/1.104, allocations: 4.042 MB / 0.8626 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00459/1.108, allocations: 1.137 MB / 0.8637 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01601/1.124, allocations: 6.871 MB / 0.8704 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002255/1.127, allocations: 2.242 MB / 0.8726 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001221/1.128, allocations: 199.4 kB / 0.8728 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of SimCode: time 1.213e-06/1.128, allocations: 0 / 0.8728 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of Templates: time 0.1037/1.232, allocations: 80.22 MB / 0.9511 GB, free: 6.27 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)