Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.338/1.338, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.001055/0.001055, allocations: 185 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205 MB / 0.5766 GB, free: 21.01 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.0008212/0.0008212, allocations: 96.42 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003305, allocations: 8.875 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2042, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01618/0.2204, allocations: 21.91 MB / 0.9181 GB, free: 46.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01821/0.2386, allocations: 17.71 MB / 0.9354 GB, free: 28.44 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002946/0.2416, allocations: 107.4 kB / 0.9355 GB, free: 28.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.007996/0.2496, allocations: 3.889 MB / 0.9393 GB, free: 24.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.01203/0.2617, allocations: 3.201 MB / 0.9425 GB, free: 21.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003236/0.2649, allocations: 1.177 MB / 0.9436 GB, free: 20.06 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00787/0.2728, allocations: 7.059 MB / 0.9505 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003371/0.2762, allocations: 2.479 MB / 0.9529 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003626/0.2799, allocations: 2.077 MB / 0.955 GB, free: 8.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003353/0.2832, allocations: 2.288 MB / 0.9572 GB, free: 6.043 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0006318/0.2839, allocations: 180 kB / 0.9574 GB, free: 5.867 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002106/0.286, allocations: 1.053 MB / 0.9584 GB, free: 4.812 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0007752/0.2868, allocations: 0.9768 MB / 0.9593 GB, free: 3.832 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001763/0.2886, allocations: 1.76 MB / 0.9611 GB, free: 2.062 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00388/0.2924, allocations: 3.962 MB / 0.9649 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2925, allocations: 0 / 0.9649 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.557e-06/0.2925, allocations: 0 / 0.9649 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001411/0.2926, allocations: 3.938 kB / 0.9649 GB, free: 14.09 MB / 0.6198 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.0089/0.3015, allocations: 4.06 MB / 0.9689 GB, free: 9.914 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.3016, allocations: 12.02 kB / 0.9689 GB, free: 9.902 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01518/0.3168, allocations: 3.367 MB / 0.9722 GB, free: 6.523 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004474/0.3213, allocations: 2.084 MB / 0.9742 GB, free: 4.371 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004036/0.3217, allocations: 470.3 kB / 0.9747 GB, free: 3.848 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005549/0.3223, allocations: 235.9 kB / 0.9749 GB, free: 3.617 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/0.3328, allocations: 4.877 MB / 0.9797 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.401e-05/0.3329, allocations: 3.938 kB / 0.9797 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002901/0.3332, allocations: 104 kB / 0.9798 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001915/0.3334, allocations: 172.8 kB / 0.9799 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01301/0.3464, allocations: 5.315 MB / 0.9851 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02162/0.3681, allocations: 14.59 MB / 0.9994 GB, free: 9.227 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009286/0.3774, allocations: 3.691 MB / 1.003 GB, free: 5.523 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003619/0.3811, allocations: 1.596 MB / 1.005 GB, free: 3.93 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001383/0.3812, allocations: 29.22 kB / 1.005 GB, free: 3.898 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003999/0.3853, allocations: 1.919 MB / 1.006 GB, free: 1.914 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=163): time 3.637e-06/0.3853, allocations: 0 / 1.006 GB, free: 1.914 MB / 0.6511 GB Notification: Performance of matching and sorting (n=250): time 0.1214/0.5067, allocations: 34.13 MB / 1.04 GB, free: 15.56 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002446/0.507, allocations: 0.4928 MB / 1.04 GB, free: 14.96 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003173/0.5101, allocations: 2.296 MB / 1.042 GB, free: 12.65 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004516/0.5106, allocations: 77.7 kB / 1.043 GB, free: 12.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001191/0.5118, allocations: 1.438 MB / 1.044 GB, free: 11.11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009455/0.5128, allocations: 0.8163 MB / 1.045 GB, free: 10.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003366/0.5131, allocations: 186.4 kB / 1.045 GB, free: 10.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.5132, allocations: 301.1 kB / 1.045 GB, free: 9.801 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005274/0.5185, allocations: 2.124 MB / 1.047 GB, free: 7.672 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005626/0.5242, allocations: 2.411 MB / 1.05 GB, free: 5.176 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01094/0.5352, allocations: 4.536 MB / 1.054 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.384e-05/0.5352, allocations: 4 kB / 1.054 GB, free: 0.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.4163/0.9515, allocations: 6.912 MB / 1.061 GB, free: 144.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.354e-05/0.9516, allocations: 148.1 kB / 1.061 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/0.9517, allocations: 13.53 kB / 1.061 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01084/0.9625, allocations: 2.928 MB / 1.064 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003115/0.9657, allocations: 0.5691 MB / 1.064 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03477/1, allocations: 17.36 MB / 1.081 GB, free: 137.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003757/1.004, allocations: 422.7 kB / 1.082 GB, free: 137.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004187/1.005, allocations: 89.28 kB / 1.082 GB, free: 137.3 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 (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.001717/1.006, allocations: 0.7179 MB / 1.083 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000757/1.007, allocations: 331 kB / 1.083 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006126/1.008, allocations: 382.6 kB / 1.083 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/1.008, allocations: 23.62 kB / 1.083 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.534e-05/1.008, allocations: 11.84 kB / 1.083 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/1.008, allocations: 10.78 kB / 1.083 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005024/1.013, allocations: 3.639 MB / 1.087 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/1.013, allocations: 5.125 kB / 1.087 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00238/1.015, allocations: 0.4967 MB / 1.087 GB, free: 134.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008805/1.024, allocations: 2.873 MB / 1.09 GB, free: 133.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004604/1.025, allocations: 51.12 kB / 1.09 GB, free: 133.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03055/1.055, allocations: 17.15 MB / 1.107 GB, free: 118.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/1.055, allocations: 3.984 kB / 1.107 GB, free: 118.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01585/1.071, allocations: 6.55 MB / 1.113 GB, free: 111.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001776/1.073, allocations: 0.7 MB / 1.114 GB, free: 111 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007253/1.074, allocations: 44 kB / 1.114 GB, free: 111 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00324/1.077, allocations: 407.6 kB / 1.114 GB, free: 110.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00117/1.078, allocations: 352.6 kB / 1.115 GB, free: 110.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00021/1.078, allocations: 67.97 kB / 1.115 GB, free: 110.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001864/1.08, allocations: 1.54 MB / 1.116 GB, free: 108.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.08, allocations: 0 / 1.116 GB, free: 108.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003061/1.083, allocations: 1.039 MB / 1.117 GB, free: 107.6 MB / 0.698 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.0003737/1.084, allocations: 171 kB / 1.118 GB, free: 107.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0204/1.104, allocations: 6.836 MB / 1.124 GB, free: 100.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/1.104, allocations: 4 kB / 1.124 GB, free: 100.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.01519/1.119, allocations: 4.229 MB / 1.128 GB, free: 96.23 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005278/1.125, allocations: 1.038 MB / 1.129 GB, free: 95.22 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/1.138, allocations: 8.295 MB / 1.137 GB, free: 86.91 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001517/1.14, allocations: 2.234 MB / 1.14 GB, free: 84.64 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00113/1.141, allocations: 187.4 kB / 1.14 GB, free: 84.46 MB / 0.698 GB Notification: Performance of SimCode: time 8.22e-07/1.141, allocations: 0 / 1.14 GB, free: 84.46 MB / 0.698 GB Notification: Performance of Templates: time 0.07962/1.22, allocations: 79.53 MB / 1.217 GB, free: 5.195 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)