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.001014/0.001014, allocations: 89.27 kB / 16.67 MB, free: 6.602 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.0009214/0.0009215, allocations: 184.3 kB / 17.58 MB, free: 6.184 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.361/1.361, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7335/0.7335, allocations: 115.5 MB / 408.2 MB, free: 7.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003404, allocations: 8.281 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3644, allocations: 77.52 MB / 0.5606 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLines): time 0.02079/0.3853, allocations: 21.65 MB / 0.5817 GB, free: 21.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02426/0.4096, allocations: 17.4 MB / 0.5987 GB, free: 9.152 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005233/0.4149, allocations: 103.6 kB / 0.5988 GB, free: 9.113 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003144/0.418, allocations: 0.5842 MB / 0.5994 GB, free: 8.785 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01187/0.4299, allocations: 3.2 MB / 0.6025 GB, free: 6.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004143/0.4341, allocations: 1.182 MB / 0.6037 GB, free: 5.453 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009698/0.4438, allocations: 6.864 MB / 0.6104 GB, free: 352 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006007/0.4499, allocations: 2.507 MB / 0.6128 GB, free: 13.74 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005637/0.4556, allocations: 1.937 MB / 0.6147 GB, free: 11.8 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004899/0.4605, allocations: 2.26 MB / 0.6169 GB, free: 9.527 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00139/0.462, allocations: 164 kB / 0.6171 GB, free: 9.367 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003625/0.4656, allocations: 1.041 MB / 0.6181 GB, free: 8.324 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001642/0.4673, allocations: 0.9417 MB / 0.619 GB, free: 7.379 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003817/0.4711, allocations: 1.754 MB / 0.6207 GB, free: 5.609 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005123/0.4762, allocations: 3.853 MB / 0.6245 GB, free: 1.746 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4763, allocations: 0 / 0.6245 GB, free: 1.746 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.4763, allocations: 0 / 0.6245 GB, free: 1.746 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000156/0.4765, allocations: 0 / 0.6245 GB, free: 1.746 MB / 462.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.008896/0.4854, allocations: 3.838 MB / 0.6282 GB, free: 13.8 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.4854, allocations: 15.97 kB / 0.6282 GB, free: 13.78 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0172/0.5026, allocations: 3.359 MB / 0.6315 GB, free: 10.41 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004379/0.5071, allocations: 2.064 MB / 0.6335 GB, free: 8.281 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001645/0.5073, allocations: 181.1 kB / 0.6337 GB, free: 8.102 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006324/0.5079, allocations: 240 kB / 0.6339 GB, free: 7.867 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01168/0.5196, allocations: 4.736 MB / 0.6386 GB, free: 2.984 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.495e-05/0.5197, allocations: 3.938 kB / 0.6386 GB, free: 2.98 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004195/0.5201, allocations: 104 kB / 0.6387 GB, free: 2.879 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002218/0.5204, allocations: 172.8 kB / 0.6388 GB, free: 2.707 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01485/0.5352, allocations: 5.237 MB / 0.6439 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02403/0.5593, allocations: 14.13 MB / 0.6577 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01187/0.5712, allocations: 3.857 MB / 0.6615 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003969/0.5752, allocations: 1.514 MB / 0.663 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001207/0.5754, allocations: 33.22 kB / 0.663 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004564/0.58, allocations: 1.821 MB / 0.6648 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=163): time 4.097e-06/0.58, allocations: 0 / 0.6648 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=250): time 0.1307/0.7107, allocations: 33.43 MB / 0.6974 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002159/0.711, allocations: 496.7 kB / 0.6979 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003152/0.7142, allocations: 2.3 MB / 0.7002 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004191/0.7146, allocations: 69.7 kB / 0.7002 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001184/0.7158, allocations: 1.442 MB / 0.7016 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008996/0.7167, allocations: 0.8164 MB / 0.7024 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003407/0.717, allocations: 186.4 kB / 0.7026 GB, free: 15.74 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.7172, allocations: 309.1 kB / 0.7029 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005238/0.7224, allocations: 1.933 MB / 0.7048 GB, free: 13.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005655/0.7281, allocations: 2.231 MB / 0.707 GB, free: 11.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01084/0.739, allocations: 4.216 MB / 0.7111 GB, free: 6.832 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.504e-05/0.739, allocations: 4 kB / 0.7111 GB, free: 6.828 MB / 0.545 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01725/0.7563, allocations: 6.2 MB / 0.7172 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003106/0.7567, allocations: 401.4 kB / 0.7175 GB, free: 28 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.7567, allocations: 12 kB / 0.7175 GB, free: 16 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006967/0.7637, allocations: 1.856 MB / 0.7194 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003238/0.7669, allocations: 0.589 MB / 0.7199 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.023/0.79, allocations: 14.17 MB / 0.7338 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004264/0.7943, allocations: 415.4 kB / 0.7342 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004441/0.7948, allocations: 87.97 kB / 0.7343 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.7948, allocations: 4 kB / 0.7343 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01568/0.8105, allocations: 5.784 MB / 0.7399 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.458e-05/0.8105, allocations: 8 kB / 0.7399 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005421/0.816, allocations: 1.829 MB / 0.7417 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003261/0.8193, allocations: 0.6086 MB / 0.7423 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3268/1.146, allocations: 13.45 MB / 0.7554 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004361/1.151, allocations: 408.1 kB / 0.7558 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003601/1.151, allocations: 88.94 kB / 0.7559 GB, free: 156.3 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.001699/1.153, allocations: 0.7844 MB / 0.7567 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000656/1.153, allocations: 330.9 kB / 0.757 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008524/1.154, allocations: 394.4 kB / 0.7574 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.602e-05/1.154, allocations: 26.47 kB / 0.7574 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-05/1.154, allocations: 9.469 kB / 0.7574 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.984e-05/1.154, allocations: 12.69 kB / 0.7574 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004714/1.159, allocations: 3.166 MB / 0.7605 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/1.159, allocations: 1.75 kB / 0.7605 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002811/1.162, allocations: 0.519 MB / 0.761 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006775/1.169, allocations: 1.715 MB / 0.7627 GB, free: 154 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004094/1.169, allocations: 51.36 kB / 0.7627 GB, free: 154 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02204/1.191, allocations: 13.98 MB / 0.7764 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.191, allocations: 3.828 kB / 0.7764 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02065/1.212, allocations: 5.802 MB / 0.7821 GB, free: 145 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002914/1.215, allocations: 0.6676 MB / 0.7827 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001142/1.216, allocations: 44.41 kB / 0.7828 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005263/1.221, allocations: 403.4 kB / 0.7831 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001571/1.223, allocations: 289.1 kB / 0.7834 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004063/1.223, allocations: 71.5 kB / 0.7835 GB, free: 144.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003996/1.227, allocations: 1.537 MB / 0.785 GB, free: 143.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.52e-07/1.227, allocations: 0 / 0.785 GB, free: 143.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008008/1.235, allocations: 1.625 MB / 0.7866 GB, free: 143.7 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.0006585/1.236, allocations: 164.5 kB / 0.7867 GB, free: 143.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.04108/1.277, allocations: 10.1 MB / 0.7966 GB, free: 138.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.516e-05/1.277, allocations: 4.75 kB / 0.7966 GB, free: 138.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01498/1.292, allocations: 3.488 MB / 0.8 GB, free: 135.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009178/1.302, allocations: 1.049 MB / 0.801 GB, free: 134.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02149/1.323, allocations: 8.139 MB / 0.809 GB, free: 125.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002406/1.326, allocations: 2.312 MB / 0.8112 GB, free: 123.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001312/1.327, allocations: 199.4 kB / 0.8114 GB, free: 123.3 MB / 0.5762 GB Notification: Performance of SimCode: time 1.222e-06/1.327, allocations: 0 / 0.8114 GB, free: 123.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.0849/1.412, allocations: 79.59 MB / 0.8892 GB, free: 44.12 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)