Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLines.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.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLines") translateModel(IBPSA.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 103.9 kB / 16.94 MB, free: 6.191 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.001995/0.001995, allocations: 191.4 kB / 17.86 MB, free: 5.293 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.332/1.332, allocations: 222.9 MB / 241.6 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7609/0.7609, allocations: 122.9 MB / 414.6 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 63.89 kB / 0.4917 GB, free: 7.453 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3768, allocations: 77.91 MB / 0.5678 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLines): time 0.02208/0.3989, allocations: 22.59 MB / 0.5899 GB, free: 16.9 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02331/0.4223, allocations: 17.63 MB / 0.6071 GB, free: 2.523 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004239/0.4266, allocations: 115.4 kB / 0.6072 GB, free: 2.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0104/0.437, allocations: 4.172 MB / 0.6113 GB, free: 14.24 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01163/0.4486, allocations: 3.504 MB / 0.6147 GB, free: 10.75 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004142/0.4528, allocations: 1.315 MB / 0.616 GB, free: 9.441 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.008642/0.4615, allocations: 5.573 MB / 0.6214 GB, free: 3.852 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006864/0.4684, allocations: 3.557 MB / 0.6249 GB, free: 228 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004442/0.4728, allocations: 2.293 MB / 0.6272 GB, free: 13.92 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004753/0.4776, allocations: 2.405 MB / 0.6295 GB, free: 11.51 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001585/0.4793, allocations: 348 kB / 0.6298 GB, free: 11.17 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003221/0.4825, allocations: 1.018 MB / 0.6308 GB, free: 10.15 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002111/0.4846, allocations: 1.16 MB / 0.632 GB, free: 8.984 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004814/0.4895, allocations: 1.967 MB / 0.6339 GB, free: 7.008 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008965/0.4985, allocations: 4.999 MB / 0.6388 GB, free: 1.992 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.4985, allocations: 0 / 0.6388 GB, free: 1.992 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4985, allocations: 0 / 0.6388 GB, free: 1.992 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002413/0.4988, allocations: 0 / 0.6388 GB, free: 1.992 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.01211/0.5109, allocations: 4.386 MB / 0.6431 GB, free: 13.49 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.511, allocations: 12.62 kB / 0.6431 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0168/0.5278, allocations: 3.261 MB / 0.6462 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004871/0.5327, allocations: 2.064 MB / 0.6483 GB, free: 8.078 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/0.5329, allocations: 177.1 kB / 0.6484 GB, free: 7.902 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007489/0.5336, allocations: 240.1 kB / 0.6487 GB, free: 7.668 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01134/0.545, allocations: 4.674 MB / 0.6532 GB, free: 2.848 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.992e-05/0.5451, allocations: 7.938 kB / 0.6532 GB, free: 2.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003437/0.5454, allocations: 104 kB / 0.6533 GB, free: 2.738 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001861/0.5456, allocations: 172.8 kB / 0.6535 GB, free: 2.566 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01424/0.5599, allocations: 5.113 MB / 0.6585 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02283/0.5827, allocations: 14.01 MB / 0.6722 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01146/0.5942, allocations: 3.573 MB / 0.6757 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003851/0.5981, allocations: 1.377 MB / 0.677 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001274/0.5983, allocations: 37.16 kB / 0.677 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004515/0.6028, allocations: 1.699 MB / 0.6787 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=163): time 4.849e-06/0.6028, allocations: 0 / 0.6787 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=250): time 0.1285/0.7313, allocations: 27.4 MB / 0.7055 GB, free: 11.88 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002602/0.7316, allocations: 0.4967 MB / 0.7059 GB, free: 11.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003621/0.7353, allocations: 2.296 MB / 0.7082 GB, free: 8.961 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000481/0.7358, allocations: 77.7 kB / 0.7083 GB, free: 8.879 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001285/0.7371, allocations: 1.434 MB / 0.7097 GB, free: 7.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001012/0.7381, allocations: 0.8201 MB / 0.7105 GB, free: 6.598 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008655/0.739, allocations: 408.5 kB / 0.7109 GB, free: 6.191 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.7391, allocations: 313 kB / 0.7111 GB, free: 5.883 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005003/0.7441, allocations: 1.759 MB / 0.7129 GB, free: 4.113 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005411/0.7495, allocations: 2.044 MB / 0.7149 GB, free: 1.984 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01042/0.76, allocations: 3.841 MB / 0.7186 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.376e-05/0.76, allocations: 0 / 0.7186 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01744/0.7775, allocations: 5.813 MB / 0.7243 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001264/0.7777, allocations: 148.4 kB / 0.7244 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.7777, allocations: 11.94 kB / 0.7244 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006845/0.7845, allocations: 1.848 MB / 0.7262 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003121/0.7877, allocations: 0.4953 MB / 0.7267 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02733/0.815, allocations: 15.42 MB / 0.7418 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004314/0.8194, allocations: 303.6 kB / 0.7421 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005076/0.8199, allocations: 91.97 kB / 0.7422 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006515/0.8265, allocations: 2.319 MB / 0.7444 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005447/0.8319, allocations: 2.024 MB / 0.7464 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2938/1.126, allocations: 3.796 MB / 0.7501 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.362e-05/1.126, allocations: 1.531 kB / 0.7501 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.01781/1.144, allocations: 5.644 MB / 0.7556 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/1.144, allocations: 150.6 kB / 0.7558 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/1.144, allocations: 10.16 kB / 0.7558 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006274/1.15, allocations: 1.693 MB / 0.7574 GB, free: 154 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003244/1.153, allocations: 0.5126 MB / 0.7579 GB, free: 154 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02029/1.174, allocations: 14.62 MB / 0.7722 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004007/1.178, allocations: 302.2 kB / 0.7725 GB, free: 146 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003861/1.178, allocations: 92.77 kB / 0.7726 GB, free: 146 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 (172): * Single equations (assignments): 165 * 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 {(10,52)} Notification: Performance of prepare postOptimizeDAE: time 0.0005941/1.179, allocations: 324.2 kB / 0.7729 GB, free: 145.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006603/1.179, allocations: 331.3 kB / 0.7732 GB, free: 145.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007933/1.18, allocations: 395.4 kB / 0.7736 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.22e-05/1.18, allocations: 22.81 kB / 0.7736 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.073e-05/1.18, allocations: 14.78 kB / 0.7736 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.859e-05/1.18, allocations: 14.95 kB / 0.7736 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003717/1.184, allocations: 3.165 MB / 0.7767 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/1.184, allocations: 3.5 kB / 0.7767 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002426/1.187, allocations: 435.1 kB / 0.7772 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005468/1.192, allocations: 1.711 MB / 0.7788 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003635/1.192, allocations: 50.92 kB / 0.7789 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01857/1.211, allocations: 15.23 MB / 0.7937 GB, free: 132.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.211, allocations: 0 / 0.7937 GB, free: 132.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/1.225, allocations: 5.416 MB / 0.799 GB, free: 126.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001649/1.226, allocations: 0.6609 MB / 0.7997 GB, free: 126.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006175/1.227, allocations: 47.98 kB / 0.7997 GB, free: 126.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002892/1.23, allocations: 303.5 kB / 0.8 GB, free: 125.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008375/1.231, allocations: 294.7 kB / 0.8003 GB, free: 125.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001704/1.231, allocations: 71.97 kB / 0.8004 GB, free: 125.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001839/1.233, allocations: 1.536 MB / 0.8019 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.472e-06/1.233, allocations: 0 / 0.8019 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004097/1.237, allocations: 1.643 MB / 0.8035 GB, free: 122.2 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 (128): * Single equations (assignments): 116 * 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,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003411/1.237, allocations: 168.5 kB / 0.8036 GB, free: 122.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02328/1.26, allocations: 10.21 MB / 0.8136 GB, free: 111.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/1.261, allocations: 4.062 kB / 0.8136 GB, free: 111.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007594/1.268, allocations: 3.319 MB / 0.8168 GB, free: 108.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00491/1.273, allocations: 1.131 MB / 0.8179 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/1.286, allocations: 6.772 MB / 0.8246 GB, free: 100.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001623/1.288, allocations: 2.305 MB / 0.8268 GB, free: 98.18 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/1.289, allocations: 211.4 kB / 0.827 GB, free: 97.97 MB / 0.5762 GB Notification: Performance of SimCode: time 7.61e-07/1.289, allocations: 0 / 0.827 GB, free: 97.97 MB / 0.5762 GB Notification: Performance of Templates: time 0.08/1.369, allocations: 79.57 MB / 0.9047 GB, free: 18.77 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLines.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)