Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_10_Buildings.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.001482/0.001482, allocations: 106.2 kB / 16.27 MB, free: 5.945 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.001418/0.001418, allocations: 189.7 kB / 17.2 MB, free: 5.582 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.453/1.453, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.596/2.596, allocations: 437.1 MB / 0.7111 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 72.39 kB / 0.8699 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3061, allocations: 151.6 MB / 1.018 GB, free: 10.67 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02765/0.3338, allocations: 22.64 MB / 1.04 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02687/0.3607, allocations: 17.61 MB / 1.057 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003565/0.3643, allocations: 111.4 kB / 1.057 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01093/0.3753, allocations: 4.177 MB / 1.061 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01162/0.387, allocations: 3.507 MB / 1.065 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004161/0.3911, allocations: 1.318 MB / 1.066 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.009925/0.4011, allocations: 5.777 MB / 1.072 GB, free: 3.363 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5336/0.9348, allocations: 3.596 MB / 1.075 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004514/0.9393, allocations: 2.398 MB / 1.078 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005146/0.9445, allocations: 2.443 MB / 1.08 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001184/0.9457, allocations: 370 kB / 1.08 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002763/0.9485, allocations: 1.034 MB / 1.081 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001366/0.9498, allocations: 1.196 MB / 1.083 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003181/0.953, allocations: 1.993 MB / 1.085 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.007737/0.9608, allocations: 5.116 MB / 1.09 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.9608, allocations: 4 kB / 1.09 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9608, allocations: 0 / 1.09 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001877/0.961, allocations: 0 / 1.09 GB, free: 13.24 MB / 0.8419 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.01413/0.9752, allocations: 4.606 MB / 1.094 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.9752, allocations: 10.42 kB / 1.094 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01735/0.9926, allocations: 3.262 MB / 1.097 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005397/0.998, allocations: 2.092 MB / 1.099 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003979/0.9984, allocations: 464.1 kB / 1.1 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001021/0.9995, allocations: 230.7 kB / 1.1 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01439/1.014, allocations: 4.824 MB / 1.105 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-05/1.014, allocations: 4.844 kB / 1.105 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000512/1.014, allocations: 108.9 kB / 1.105 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002293/1.015, allocations: 168.7 kB / 1.105 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01614/1.031, allocations: 5.192 MB / 1.11 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02443/1.055, allocations: 14.47 MB / 1.124 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01054/1.066, allocations: 3.382 MB / 1.127 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004144/1.07, allocations: 1.469 MB / 1.129 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/1.07, allocations: 31.42 kB / 1.129 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004669/1.075, allocations: 1.785 MB / 1.131 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=163): time 3.417e-06/1.075, allocations: 7.562 kB / 1.131 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of matching and sorting (n=250): time 0.1324/1.207, allocations: 28.24 MB / 1.158 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003202/1.208, allocations: 0.495 MB / 1.159 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003738/1.212, allocations: 2.296 MB / 1.161 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0005238/1.212, allocations: 69.7 kB / 1.161 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001531/1.214, allocations: 1.441 MB / 1.162 GB, free: 8.992 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.00114/1.215, allocations: 0.8161 MB / 1.163 GB, free: 8.184 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009964/1.216, allocations: 420.5 kB / 1.164 GB, free: 7.766 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.216, allocations: 304.7 kB / 1.164 GB, free: 7.469 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005879/1.222, allocations: 1.925 MB / 1.166 GB, free: 5.539 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006329/1.228, allocations: 2.234 MB / 1.168 GB, free: 3.223 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01198/1.24, allocations: 4.161 MB / 1.172 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/1.24, allocations: 0 / 1.172 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0209/1.261, allocations: 6.541 MB / 1.178 GB, free: 8.422 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001382/1.261, allocations: 148.5 kB / 1.179 GB, free: 8.246 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/1.261, allocations: 9.562 kB / 1.179 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01095/1.272, allocations: 2.946 MB / 1.181 GB, free: 5.289 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003168/1.275, allocations: 488.6 kB / 1.182 GB, free: 4.828 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04376/1.319, allocations: 18.86 MB / 1.2 GB, free: 1.773 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004823/1.324, allocations: 319.6 kB / 1.201 GB, free: 1.457 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004491/1.325, allocations: 87.97 kB / 1.201 GB, free: 1.371 MB / 0.9044 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.001841/1.326, allocations: 0.7178 MB / 1.201 GB, free: 0.6641 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007738/1.327, allocations: 336 kB / 1.202 GB, free: 340 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008792/1.328, allocations: 388.5 kB / 1.202 GB, free: 0 / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-05/1.328, allocations: 24.05 kB / 1.202 GB, free: 15.97 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.29e-05/1.328, allocations: 8 kB / 1.202 GB, free: 15.96 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-05/1.328, allocations: 11.91 kB / 1.202 GB, free: 15.96 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005841/1.334, allocations: 3.63 MB / 1.206 GB, free: 12.32 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/1.334, allocations: 0 / 1.206 GB, free: 12.32 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002768/1.337, allocations: 410 kB / 1.206 GB, free: 11.93 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01067/1.348, allocations: 2.892 MB / 1.209 GB, free: 9.027 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005311/1.348, allocations: 51.97 kB / 1.209 GB, free: 8.977 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04193/1.39, allocations: 18.63 MB / 1.227 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/1.39, allocations: 4 kB / 1.227 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01954/1.41, allocations: 6.174 MB / 1.233 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002357/1.412, allocations: 0.6922 MB / 1.234 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008284/1.413, allocations: 52 kB / 1.234 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003622/1.417, allocations: 315.5 kB / 1.234 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001216/1.418, allocations: 350.7 kB / 1.235 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002392/1.418, allocations: 71.97 kB / 1.235 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002436/1.42, allocations: 1.536 MB / 1.236 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.42, allocations: 0 / 1.236 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003324/1.424, allocations: 1.043 MB / 1.237 GB, free: 11.9 MB / 0.9512 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.0004461/1.424, allocations: 167.7 kB / 1.237 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.02808/1.452, allocations: 7.299 MB / 1.244 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 9.148e-06/1.452, allocations: 4.188 kB / 1.244 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.01879/1.471, allocations: 4.053 MB / 1.248 GB, free: 328 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005793/1.477, allocations: 1.138 MB / 1.249 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01718/1.494, allocations: 6.962 MB / 1.256 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002423/1.497, allocations: 2.235 MB / 1.258 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001418/1.498, allocations: 199.4 kB / 1.259 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of SimCode: time 9.72e-07/1.498, allocations: 0 / 1.259 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of Templates: time 0.1166/1.615, allocations: 79.95 MB / 1.337 GB, free: 6.328 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)