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.001087/0.001087, allocations: 96.27 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001319, allocations: 177.3 kB / 16.57 MB, free: 6.387 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.378/1.378, allocations: 223.2 MB / 240.5 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.704/0.704, allocations: 113.8 MB / 405.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.0003381, allocations: 12 kB / 493.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1716, allocations: 77.15 MB / 0.5568 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLines): time 0.01871/0.1903, allocations: 19.14 MB / 0.5755 GB, free: 8.402 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3655/0.5559, allocations: 16.04 MB / 0.5912 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003759/0.5597, allocations: 97.72 kB / 0.5913 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002738/0.5624, allocations: 0.5416 MB / 0.5918 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01328/0.5757, allocations: 2.816 MB / 0.5946 GB, free: 10.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004634/0.5804, allocations: 0.9404 MB / 0.5955 GB, free: 10.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009503/0.5899, allocations: 3.332 MB / 0.5987 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004576/0.5945, allocations: 2.022 MB / 0.6007 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00628/0.6009, allocations: 1.705 MB / 0.6024 GB, free: 9.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006179/0.6071, allocations: 1.756 MB / 0.6041 GB, free: 9.637 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001437/0.6086, allocations: 169.8 kB / 0.6043 GB, free: 9.633 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004097/0.6127, allocations: 482.6 kB / 0.6047 GB, free: 9.617 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002165/0.6149, allocations: 0.8451 MB / 0.6055 GB, free: 9.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002994/0.6179, allocations: 0.6903 MB / 0.6062 GB, free: 9.348 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01007/0.6279, allocations: 3.791 MB / 0.6099 GB, free: 8.492 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.628, allocations: 0 / 0.6099 GB, free: 8.492 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.27e-06/0.628, allocations: 0 / 0.6099 GB, free: 8.492 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002524/0.6283, allocations: 3.938 kB / 0.6099 GB, free: 8.488 MB / 446.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.01129/0.6396, allocations: 3.874 MB / 0.6137 GB, free: 6.098 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.6396, allocations: 12.8 kB / 0.6137 GB, free: 6.094 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0177/0.6573, allocations: 3.403 MB / 0.617 GB, free: 4.645 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006609/0.664, allocations: 1.964 MB / 0.619 GB, free: 3.434 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002404/0.6643, allocations: 177.8 kB / 0.6191 GB, free: 3.355 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001202/0.6655, allocations: 231.7 kB / 0.6193 GB, free: 3.285 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01256/0.678, allocations: 4.71 MB / 0.6239 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.825e-05/0.6781, allocations: 9.5 kB / 0.624 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003972/0.6785, allocations: 103.8 kB / 0.6241 GB, free: 464 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002252/0.6788, allocations: 168.4 kB / 0.6242 GB, free: 424 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01472/0.6935, allocations: 5.233 MB / 0.6293 GB, free: 13.67 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02716/0.7207, allocations: 14.11 MB / 0.6431 GB, free: 14.49 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01159/0.7323, allocations: 3.854 MB / 0.6469 GB, free: 10.64 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000176/0.7325, allocations: 27.09 kB / 0.6469 GB, free: 10.62 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004309/0.7369, allocations: 1.822 MB / 0.6487 GB, free: 8.73 MB / 478.1 MB Notification: Performance of pre-optimization done (n=163): time 3.627e-06/0.7369, allocations: 0 / 0.6487 GB, free: 8.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=250): time 0.13/0.8669, allocations: 33.39 MB / 0.6813 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002872/0.8672, allocations: 0.4886 MB / 0.6818 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004668/0.8719, allocations: 2.281 MB / 0.684 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000743/0.8727, allocations: 79.67 kB / 0.6841 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001846/0.8745, allocations: 1.426 MB / 0.6855 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001289/0.8758, allocations: 0.8249 MB / 0.6863 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004006/0.8763, allocations: 48 kB / 0.6863 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002436/0.8765, allocations: 394.7 kB / 0.6867 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005483/0.882, allocations: 1.921 MB / 0.6886 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0057/0.8877, allocations: 2.216 MB / 0.6907 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005498/0.8933, allocations: 2.128 MB / 0.6928 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.8933, allocations: 0 / 0.6928 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01803/0.9114, allocations: 6.164 MB / 0.6988 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.001248/0.9127, allocations: 2.444 MB / 0.7012 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.67e-05/0.9127, allocations: 12 kB / 0.7012 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006749/0.9195, allocations: 1.848 MB / 0.703 GB, free: 252 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003127/0.9226, allocations: 0.5851 MB / 0.7036 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02277/0.9454, allocations: 14.82 MB / 0.7181 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004199/0.9496, allocations: 403.6 kB / 0.7185 GB, free: 228 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003207/0.95, allocations: 87.97 kB / 0.7185 GB, free: 140 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.95, allocations: 7.953 kB / 0.7185 GB, free: 132 kB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01454/0.9646, allocations: 5.755 MB / 0.7242 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/0.9646, allocations: 4 kB / 0.7242 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005373/0.97, allocations: 1.827 MB / 0.726 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003449/0.9735, allocations: 0.6008 MB / 0.7265 GB, free: 7.859 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02134/0.9948, allocations: 14.06 MB / 0.7403 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004986/0.9999, allocations: 399.6 kB / 0.7407 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006754/1.001, allocations: 99.97 kB / 0.7407 GB, free: 9.055 MB / 0.5606 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.002042/1.003, allocations: 0.7846 MB / 0.7415 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000848/1.003, allocations: 328.1 kB / 0.7418 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009433/1.004, allocations: 396.1 kB / 0.7422 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.316e-05/1.004, allocations: 24 kB / 0.7422 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-05/1.005, allocations: 12 kB / 0.7422 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.173e-05/1.005, allocations: 11.95 kB / 0.7422 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004737/1.009, allocations: 3.163 MB / 0.7453 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-05/1.009, allocations: 7.938 kB / 0.7453 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002802/1.012, allocations: 0.515 MB / 0.7458 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00634/1.019, allocations: 1.709 MB / 0.7475 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004678/1.019, allocations: 51.97 kB / 0.7476 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02239/1.041, allocations: 14.6 MB / 0.7618 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.041, allocations: 4 kB / 0.7618 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01588/1.057, allocations: 5.793 MB / 0.7675 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003127/1.061, allocations: 0.657 MB / 0.7681 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001315/1.062, allocations: 51.98 kB / 0.7682 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003989/1.066, allocations: 395.6 kB / 0.7686 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009665/1.067, allocations: 315.1 kB / 0.7689 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002072/1.067, allocations: 71.97 kB / 0.7689 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002679/1.07, allocations: 1.505 MB / 0.7704 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/1.07, allocations: 1.859 kB / 0.7704 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006428/1.076, allocations: 1.625 MB / 0.772 GB, free: 8.723 MB / 0.5919 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 (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,60.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004695/1.077, allocations: 165.2 kB / 0.7721 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02562/1.102, allocations: 10.07 MB / 0.782 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-05/1.102, allocations: 4.75 kB / 0.782 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.009182/1.112, allocations: 3.489 MB / 0.7854 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005695/1.117, allocations: 1.006 MB / 0.7864 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01565/1.133, allocations: 7.571 MB / 0.7938 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002245/1.135, allocations: 2.379 MB / 0.7961 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.003404/1.139, allocations: 0.627 MB / 0.7967 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006596/1.139, allocations: 183.3 kB / 0.7969 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of SimCode: time 9.71e-07/1.139, allocations: 0 / 0.7969 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of Templates: time 0.4617/1.601, allocations: 74.03 MB / 0.8692 GB, free: 200.8 MB / 0.6387 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)