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.001323/0.001323, allocations: 104 kB / 16.52 MB, free: 6.27 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.001359/0.001359, allocations: 196 kB / 17.44 MB, free: 5.887 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.377/1.377, allocations: 222.9 MB / 241.1 MB, free: 13.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7294/0.7294, allocations: 115.3 MB / 406.6 MB, free: 6.43 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 59.91 kB / 493.6 MB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3318, allocations: 76.17 MB / 0.5564 GB, free: 35.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02196/0.3538, allocations: 22.41 MB / 0.5783 GB, free: 20.03 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0238/0.3776, allocations: 17.61 MB / 0.5955 GB, free: 7.926 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005105/0.3827, allocations: 103.4 kB / 0.5956 GB, free: 7.891 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01039/0.3932, allocations: 3.914 MB / 0.5994 GB, free: 5.559 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01222/0.4054, allocations: 3.202 MB / 0.6025 GB, free: 3.105 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004725/0.4102, allocations: 1.185 MB / 0.6037 GB, free: 2.148 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01098/0.4211, allocations: 7.054 MB / 0.6105 GB, free: 13.14 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005966/0.4271, allocations: 2.507 MB / 0.613 GB, free: 10.57 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005374/0.4326, allocations: 2.175 MB / 0.6151 GB, free: 8.383 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005615/0.4382, allocations: 2.448 MB / 0.6175 GB, free: 5.926 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001765/0.44, allocations: 232 kB / 0.6177 GB, free: 5.699 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004074/0.4441, allocations: 1.111 MB / 0.6188 GB, free: 4.586 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002345/0.4465, allocations: 1.063 MB / 0.6199 GB, free: 3.52 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005145/0.4516, allocations: 1.861 MB / 0.6217 GB, free: 1.648 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006777/0.4584, allocations: 4.045 MB / 0.6256 GB, free: 13.59 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.4585, allocations: 0 / 0.6256 GB, free: 13.59 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4585, allocations: 0 / 0.6256 GB, free: 13.59 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002294/0.4587, allocations: 0 / 0.6256 GB, free: 13.59 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.01378/0.4725, allocations: 4.62 MB / 0.6301 GB, free: 8.859 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.4726, allocations: 15.91 kB / 0.6302 GB, free: 8.844 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01631/0.4889, allocations: 3.261 MB / 0.6333 GB, free: 5.574 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005209/0.4941, allocations: 2.084 MB / 0.6354 GB, free: 3.422 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005227/0.4947, allocations: 474.3 kB / 0.6358 GB, free: 2.895 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001086/0.4958, allocations: 231.9 kB / 0.636 GB, free: 2.668 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01363/0.5095, allocations: 4.814 MB / 0.6407 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.919e-05/0.5096, allocations: 3.938 kB / 0.6407 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007831/0.5104, allocations: 112 kB / 0.6409 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000227/0.5106, allocations: 168.8 kB / 0.641 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01474/0.5254, allocations: 5.202 MB / 0.6461 GB, free: 8.207 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0265/0.5519, allocations: 14.48 MB / 0.6602 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/0.5621, allocations: 3.386 MB / 0.6635 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003908/0.566, allocations: 1.471 MB / 0.665 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002018/0.5663, allocations: 25.28 kB / 0.665 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004597/0.5709, allocations: 1.792 MB / 0.6668 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=163): time 5.4e-06/0.5709, allocations: 4 kB / 0.6668 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=250): time 0.1273/0.6982, allocations: 28.21 MB / 0.6943 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002606/0.6984, allocations: 0.4928 MB / 0.6948 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003994/0.7025, allocations: 2.3 MB / 0.697 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005233/0.703, allocations: 81.7 kB / 0.6971 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00141/0.7044, allocations: 1.43 MB / 0.6985 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001103/0.7055, allocations: 0.8202 MB / 0.6993 GB, free: 92 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001251/0.7068, allocations: 416.4 kB / 0.6997 GB, free: 15.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.7069, allocations: 305.1 kB / 0.7 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00532/0.7123, allocations: 1.929 MB / 0.7019 GB, free: 13.44 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00576/0.718, allocations: 2.231 MB / 0.7041 GB, free: 11.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01096/0.729, allocations: 4.161 MB / 0.7081 GB, free: 6.828 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/0.7291, allocations: 0 / 0.7081 GB, free: 6.828 MB / 0.545 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01967/0.7487, allocations: 6.536 MB / 0.7145 GB, free: 204 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.7489, allocations: 152.5 kB / 0.7147 GB, free: 20 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/0.7489, allocations: 11.98 kB / 0.7147 GB, free: 8 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01079/0.7597, allocations: 2.918 MB / 0.7175 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003242/0.763, allocations: 491.2 kB / 0.718 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04017/0.8032, allocations: 17.34 MB / 0.7349 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004217/0.8075, allocations: 323.6 kB / 0.7352 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006067/0.8081, allocations: 87.97 kB / 0.7353 GB, free: 10.62 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.001887/0.81, allocations: 0.7065 MB / 0.736 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009386/0.811, allocations: 332.1 kB / 0.7363 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009626/0.8119, allocations: 392 kB / 0.7367 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.362e-05/0.812, allocations: 24 kB / 0.7367 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.25e-05/0.812, allocations: 8 kB / 0.7367 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.309e-05/0.812, allocations: 11.95 kB / 0.7367 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005702/0.8178, allocations: 3.628 MB / 0.7403 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.408e-05/0.8178, allocations: 0 / 0.7403 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002506/0.8203, allocations: 419.3 kB / 0.7407 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01028/0.8306, allocations: 2.868 MB / 0.7435 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004711/0.8311, allocations: 55.91 kB / 0.7435 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2825/1.114, allocations: 17.1 MB / 0.7602 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.114, allocations: 0 / 0.7602 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01785/1.132, allocations: 6.172 MB / 0.7663 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001698/1.133, allocations: 0.7011 MB / 0.7669 GB, free: 152 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006461/1.134, allocations: 49.17 kB / 0.767 GB, free: 152 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00324/1.137, allocations: 314.1 kB / 0.7673 GB, free: 152 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0014/1.139, allocations: 358.9 kB / 0.7676 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000254/1.139, allocations: 72.91 kB / 0.7677 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002355/1.141, allocations: 1.534 MB / 0.7692 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.11e-07/1.141, allocations: 0 / 0.7692 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003396/1.145, allocations: 1.043 MB / 0.7702 GB, free: 151.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 (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.0004182/1.145, allocations: 169.1 kB / 0.7704 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02196/1.167, allocations: 6.443 MB / 0.7767 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/1.167, allocations: 2.156 kB / 0.7767 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0163/1.183, allocations: 4.047 MB / 0.7806 GB, free: 147.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004744/1.188, allocations: 1.041 MB / 0.7816 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01738/1.206, allocations: 8.224 MB / 0.7897 GB, free: 143 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002598/1.208, allocations: 2.235 MB / 0.7919 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001809/1.21, allocations: 191.9 kB / 0.792 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.092e-06/1.21, allocations: 0 / 0.792 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.1015/1.312, allocations: 79.95 MB / 0.8701 GB, free: 63.46 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)