Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.146/2.146, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00229/0.002289, allocations: 181.7 kB / 326.3 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.674/2.674, allocations: 205.4 MB / 0.5772 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009325/0.0009319, allocations: 105.4 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004745/0.0004747, allocations: 11.12 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2185, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02895/0.2475, allocations: 20.24 MB / 0.9193 GB, free: 45.23 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03241/0.28, allocations: 16.52 MB / 0.9354 GB, free: 28.67 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003608/0.2836, allocations: 103.4 kB / 0.9355 GB, free: 28.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002929/0.2866, allocations: 0.5541 MB / 0.936 GB, free: 28.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.01191/0.2986, allocations: 2.868 MB / 0.9388 GB, free: 25.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004539/0.3031, allocations: 0.9565 MB / 0.9398 GB, free: 24.19 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00915/0.3123, allocations: 5.796 MB / 0.9454 GB, free: 18.37 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004739/0.3171, allocations: 2.208 MB / 0.9476 GB, free: 16.1 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004662/0.3218, allocations: 1.864 MB / 0.9494 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005309/0.3272, allocations: 2.171 MB / 0.9515 GB, free: 12.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001561/0.3288, allocations: 164 kB / 0.9517 GB, free: 11.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003303/0.3322, allocations: 495.4 kB / 0.9521 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001916/0.3341, allocations: 0.9263 MB / 0.9531 GB, free: 10.47 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001784/0.3359, allocations: 0.6873 MB / 0.9537 GB, free: 9.777 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.006055/0.342, allocations: 3.826 MB / 0.9575 GB, free: 5.941 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.3421, allocations: 0 / 0.9575 GB, free: 5.941 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.304e-06/0.3421, allocations: 0 / 0.9575 GB, free: 5.941 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001879/0.3423, allocations: 0 / 0.9575 GB, free: 5.941 MB / 0.6042 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.01225/0.3546, allocations: 3.881 MB / 0.9612 GB, free: 1.949 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.3546, allocations: 8.031 kB / 0.9613 GB, free: 1.941 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02797/0.3826, allocations: 3.359 MB / 0.9645 GB, free: 14.57 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006809/0.3895, allocations: 1.961 MB / 0.9665 GB, free: 12.55 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002982/0.3898, allocations: 189 kB / 0.9666 GB, free: 12.36 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001268/0.3911, allocations: 236.1 kB / 0.9669 GB, free: 12.13 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02014/0.4113, allocations: 4.717 MB / 0.9715 GB, free: 7.266 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.875e-05/0.4114, allocations: 7.984 kB / 0.9715 GB, free: 7.258 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006856/0.4121, allocations: 104 kB / 0.9716 GB, free: 7.156 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003586/0.4125, allocations: 168.8 kB / 0.9717 GB, free: 6.988 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02668/0.4392, allocations: 5.222 MB / 0.9768 GB, free: 1.75 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0369/0.4761, allocations: 14.12 MB / 0.9906 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02227/0.4984, allocations: 3.845 MB / 0.9944 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007358/0.5058, allocations: 1.51 MB / 0.9958 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002253/0.5061, allocations: 29.16 kB / 0.9959 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008408/0.5145, allocations: 1.814 MB / 0.9976 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=163): time 7.053e-06/0.5146, allocations: 0 / 0.9976 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of matching and sorting (n=250): time 0.2872/0.8018, allocations: 33.41 MB / 1.03 GB, free: 9.547 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003003/0.8022, allocations: 0.4889 MB / 1.031 GB, free: 8.945 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005051/0.8073, allocations: 2.269 MB / 1.033 GB, free: 6.664 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.0005878/0.8079, allocations: 73.7 kB / 1.033 GB, free: 6.586 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.001951/0.8099, allocations: 1.438 MB / 1.034 GB, free: 5.133 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.001555/0.8115, allocations: 0.8163 MB / 1.035 GB, free: 4.305 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003638/0.8119, allocations: 47.94 kB / 1.035 GB, free: 4.258 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0002562/0.8121, allocations: 398.7 kB / 1.036 GB, free: 3.863 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009852/0.822, allocations: 1.925 MB / 1.038 GB, free: 1.934 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01046/0.8325, allocations: 2.216 MB / 1.04 GB, free: 15.63 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01024/0.8428, allocations: 2.128 MB / 1.042 GB, free: 13.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.906e-05/0.8429, allocations: 4 kB / 1.042 GB, free: 13.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.03143/0.8743, allocations: 6.173 MB / 1.048 GB, free: 7.184 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003692/0.8747, allocations: 409.8 kB / 1.048 GB, free: 6.668 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/0.8748, allocations: 4 kB / 1.048 GB, free: 6.664 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.014/0.8888, allocations: 1.852 MB / 1.05 GB, free: 4.805 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007155/0.896, allocations: 0.5929 MB / 1.051 GB, free: 4.211 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6476/1.544, allocations: 14.14 MB / 1.064 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007371/1.551, allocations: 406.5 kB / 1.065 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000813/1.552, allocations: 93.06 kB / 1.065 GB, free: 137.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/1.552, allocations: 3.094 kB / 1.065 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03169/1.584, allocations: 5.759 MB / 1.071 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.766e-05/1.584, allocations: 5.969 kB / 1.071 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01064/1.594, allocations: 1.818 MB / 1.072 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006131/1.601, allocations: 0.6144 MB / 1.073 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04861/1.649, allocations: 13.43 MB / 1.086 GB, free: 129.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009354/1.659, allocations: 419 kB / 1.086 GB, free: 129.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001055/1.66, allocations: 82.78 kB / 1.086 GB, free: 129.9 MB / 0.698 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 (172): * Single equations (assignments): 165 * 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 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.003727/1.664, allocations: 0.7735 MB / 1.087 GB, free: 129.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001439/1.665, allocations: 331.4 kB / 1.088 GB, free: 129.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/1.667, allocations: 400.3 kB / 1.088 GB, free: 129 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.485e-05/1.667, allocations: 15.47 kB / 1.088 GB, free: 129 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/1.667, allocations: 0 / 1.088 GB, free: 129 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00358/1.671, allocations: 0.6635 MB / 1.089 GB, free: 128.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001542/1.672, allocations: 47.84 kB / 1.089 GB, free: 128.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008934/1.681, allocations: 401.8 kB / 1.089 GB, free: 128.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001971/1.683, allocations: 364.8 kB / 1.089 GB, free: 128.4 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04404/1.727, allocations: 6.218 MB / 1.095 GB, free: 126.4 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03876/1.766, allocations: 6.566 MB / 1.102 GB, free: 121.7 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01285/1.779, allocations: 2.131 MB / 1.104 GB, free: 119.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004604/1.784, allocations: 1.513 MB / 1.105 GB, free: 118 MB / 0.698 GB Notification: Performance of Backend: time 1.443e-06/1.784, allocations: 0 / 1.105 GB, free: 118 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.04846/1.832, allocations: 8.502 MB / 1.114 GB, free: 109.4 MB / 0.698 GB Notification: Performance of SimCode: time 0.02583/1.858, allocations: 8.395 MB / 1.122 GB, free: 101 MB / 0.698 GB Notification: Performance of Templates: time 0.2178/2.076, allocations: 87.38 MB / 1.207 GB, free: 14.27 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)