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.00119/0.00119, allocations: 102.2 kB / 16.27 MB, free: 5.871 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.001308/0.001308, allocations: 185.3 kB / 17.19 MB, free: 5.52 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.391/1.391, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8269/0.8269, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 59.91 kB / 0.4911 GB, free: 7.383 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4018, allocations: 77.92 MB / 0.5672 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02309/0.425, allocations: 22.61 MB / 0.5893 GB, free: 16.94 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02321/0.4482, allocations: 17.63 MB / 0.6065 GB, free: 2.438 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00409/0.4524, allocations: 112.8 kB / 0.6066 GB, free: 2.328 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009846/0.4622, allocations: 4.17 MB / 0.6107 GB, free: 14.16 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01679/0.479, allocations: 3.516 MB / 0.6141 GB, free: 10.66 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005508/0.4846, allocations: 1.317 MB / 0.6154 GB, free: 9.355 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.009813/0.4944, allocations: 5.773 MB / 0.6211 GB, free: 3.566 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006941/0.5014, allocations: 3.612 MB / 0.6246 GB, free: 15.88 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005395/0.5068, allocations: 2.402 MB / 0.6269 GB, free: 13.47 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00531/0.5121, allocations: 2.448 MB / 0.6293 GB, free: 11.02 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001729/0.5139, allocations: 368 kB / 0.6297 GB, free: 10.66 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003484/0.5174, allocations: 1.034 MB / 0.6307 GB, free: 9.621 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002/0.5194, allocations: 1.196 MB / 0.6318 GB, free: 8.422 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003923/0.5234, allocations: 1.998 MB / 0.6338 GB, free: 6.414 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007224/0.5306, allocations: 5.113 MB / 0.6388 GB, free: 1.285 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.5306, allocations: 0 / 0.6388 GB, free: 1.285 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5307, allocations: 7.938 kB / 0.6388 GB, free: 1.277 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001532/0.5308, allocations: 0 / 0.6388 GB, free: 1.277 MB / 478.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.01166/0.5425, allocations: 4.609 MB / 0.6433 GB, free: 12.55 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.5425, allocations: 12.62 kB / 0.6433 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01648/0.559, allocations: 3.265 MB / 0.6465 GB, free: 9.266 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0044/0.5635, allocations: 2.08 MB / 0.6485 GB, free: 7.117 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003619/0.5639, allocations: 466.3 kB / 0.649 GB, free: 6.598 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005874/0.5645, allocations: 239.9 kB / 0.6492 GB, free: 6.363 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01184/0.5763, allocations: 4.81 MB / 0.6539 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.149e-05/0.5764, allocations: 3.938 kB / 0.6539 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003415/0.5767, allocations: 108 kB / 0.654 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000189/0.5769, allocations: 172.8 kB / 0.6542 GB, free: 1.125 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01388/0.5908, allocations: 5.191 MB / 0.6592 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0231/0.614, allocations: 14.48 MB / 0.6734 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009711/0.6237, allocations: 3.387 MB / 0.6767 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003697/0.6274, allocations: 1.482 MB / 0.6781 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001229/0.6276, allocations: 29.28 kB / 0.6782 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004127/0.6317, allocations: 1.783 MB / 0.6799 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=163): time 3.426e-06/0.6317, allocations: 0 / 0.6799 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of matching and sorting (n=250): time 0.1245/0.7563, allocations: 28.22 MB / 0.7075 GB, free: 9.074 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002685/0.7566, allocations: 0.4928 MB / 0.7079 GB, free: 8.469 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003347/0.7599, allocations: 2.304 MB / 0.7102 GB, free: 6.152 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005385/0.7605, allocations: 73.7 kB / 0.7103 GB, free: 6.074 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001256/0.7618, allocations: 1.434 MB / 0.7117 GB, free: 4.625 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009895/0.7628, allocations: 0.8201 MB / 0.7125 GB, free: 3.793 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008651/0.7636, allocations: 416.4 kB / 0.7129 GB, free: 3.379 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.7637, allocations: 309.1 kB / 0.7132 GB, free: 3.074 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005278/0.769, allocations: 1.929 MB / 0.715 GB, free: 1.141 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006012/0.7751, allocations: 2.23 MB / 0.7172 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01109/0.7862, allocations: 4.165 MB / 0.7213 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.7863, allocations: 3.938 kB / 0.7213 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01864/0.8049, allocations: 6.535 MB / 0.7277 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001364/0.8051, allocations: 150.7 kB / 0.7278 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/0.8051, allocations: 11.98 kB / 0.7278 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01056/0.8157, allocations: 2.938 MB / 0.7307 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003411/0.8191, allocations: 495.2 kB / 0.7312 GB, free: 288 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4035/1.223, allocations: 18.85 MB / 0.7496 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005003/1.228, allocations: 317.3 kB / 0.7499 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006114/1.228, allocations: 87.31 kB / 0.75 GB, free: 153.4 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.002356/1.231, allocations: 0.709 MB / 0.7507 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001155/1.232, allocations: 330 kB / 0.751 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009664/1.233, allocations: 382.3 kB / 0.7513 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-05/1.233, allocations: 24.55 kB / 0.7514 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.226e-05/1.233, allocations: 11.12 kB / 0.7514 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.404e-05/1.233, allocations: 12.16 kB / 0.7514 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00687/1.24, allocations: 3.627 MB / 0.7549 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.621e-05/1.24, allocations: 1.781 kB / 0.7549 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002619/1.243, allocations: 411.5 kB / 0.7553 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0106/1.253, allocations: 2.896 MB / 0.7582 GB, free: 152 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006101/1.254, allocations: 50.55 kB / 0.7582 GB, free: 152 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03714/1.291, allocations: 18.63 MB / 0.7764 GB, free: 143 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.291, allocations: 0 / 0.7764 GB, free: 143 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01624/1.307, allocations: 6.181 MB / 0.7824 GB, free: 141 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001775/1.309, allocations: 0.6918 MB / 0.7831 GB, free: 140.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005834/1.31, allocations: 51.8 kB / 0.7832 GB, free: 140.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003075/1.313, allocations: 312.3 kB / 0.7835 GB, free: 140.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001225/1.314, allocations: 353.9 kB / 0.7838 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001951/1.314, allocations: 67.77 kB / 0.7839 GB, free: 140 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002172/1.316, allocations: 1.532 MB / 0.7854 GB, free: 139.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/1.316, allocations: 2.078 kB / 0.7854 GB, free: 139.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002925/1.319, allocations: 1.047 MB / 0.7864 GB, free: 139.1 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.0003453/1.32, allocations: 169.7 kB / 0.7865 GB, free: 139 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02485/1.345, allocations: 7.302 MB / 0.7937 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/1.345, allocations: 11.16 kB / 0.7937 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01628/1.361, allocations: 4.055 MB / 0.7976 GB, free: 127.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004626/1.366, allocations: 1.137 MB / 0.7987 GB, free: 126.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/1.379, allocations: 6.783 MB / 0.8054 GB, free: 119.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00153/1.381, allocations: 2.231 MB / 0.8076 GB, free: 117.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002442/1.383, allocations: 0.5054 MB / 0.808 GB, free: 117 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006004/1.384, allocations: 191.4 kB / 0.8082 GB, free: 116.8 MB / 0.5762 GB Notification: Performance of SimCode: time 7.62e-07/1.384, allocations: 0 / 0.8082 GB, free: 116.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.1007/1.484, allocations: 77.56 MB / 0.884 GB, free: 40.14 MB / 0.5762 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)