Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.242/2.242, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 200.8 kB / 499.1 MB, free: 4.617 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 222.9 MB / 0.7948 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 107.3 kB / 0.9329 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 54.28 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2714, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01899/0.2904, allocations: 22.25 MB / 1.24 GB, free: 94.88 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01968/0.3101, allocations: 17.7 MB / 1.257 GB, free: 77.12 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003536/0.3137, allocations: 103.4 kB / 1.257 GB, free: 77.02 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.008675/0.3224, allocations: 3.903 MB / 1.261 GB, free: 73.11 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.009845/0.3323, allocations: 3.208 MB / 1.264 GB, free: 69.91 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003731/0.336, allocations: 1.183 MB / 1.265 GB, free: 68.73 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.008003/0.344, allocations: 7.095 MB / 1.272 GB, free: 61.61 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004394/0.3485, allocations: 2.503 MB / 1.275 GB, free: 59.03 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003655/0.3521, allocations: 2.199 MB / 1.277 GB, free: 56.82 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004071/0.3562, allocations: 2.455 MB / 1.279 GB, free: 54.36 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.001186/0.3575, allocations: 228 kB / 1.279 GB, free: 54.13 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003937/0.3614, allocations: 1.111 MB / 1.281 GB, free: 53.02 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.002887/0.3643, allocations: 1.055 MB / 1.282 GB, free: 51.96 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.005921/0.3703, allocations: 1.865 MB / 1.283 GB, free: 50.09 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.006992/0.3773, allocations: 5.069 MB / 1.288 GB, free: 45 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.3773, allocations: 0 / 1.288 GB, free: 45 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3774, allocations: 0 / 1.288 GB, free: 45 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002134/0.3776, allocations: 0 / 1.288 GB, free: 45 MB / 0.823 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.0113/0.3889, allocations: 4.612 MB / 1.293 GB, free: 40.27 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.389, allocations: 15.98 kB / 1.293 GB, free: 40.26 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01464/0.4036, allocations: 3.261 MB / 1.296 GB, free: 36.99 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004161/0.4078, allocations: 2.084 MB / 1.298 GB, free: 34.84 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002624/0.4081, allocations: 466.3 kB / 1.299 GB, free: 34.32 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004713/0.4086, allocations: 239.9 kB / 1.299 GB, free: 34.08 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009229/0.4178, allocations: 4.814 MB / 1.303 GB, free: 29.12 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.271e-05/0.4179, allocations: 0 / 1.303 GB, free: 29.12 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002734/0.4182, allocations: 111.9 kB / 1.304 GB, free: 29.01 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001441/0.4183, allocations: 172.8 kB / 1.304 GB, free: 28.84 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01222/0.4305, allocations: 5.187 MB / 1.309 GB, free: 23.64 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01949/0.4501, allocations: 14.48 MB / 1.323 GB, free: 7.98 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008603/0.4587, allocations: 3.399 MB / 1.326 GB, free: 4.574 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003339/0.4621, allocations: 1.463 MB / 1.328 GB, free: 3.113 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000131/0.4623, allocations: 33.28 kB / 1.328 GB, free: 3.082 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003738/0.466, allocations: 1.79 MB / 1.329 GB, free: 1.227 MB / 0.823 GB Notification: Performance of pre-optimization done (n=163): time 3.848e-06/0.466, allocations: 0 / 1.329 GB, free: 1.227 MB / 0.823 GB Notification: Performance of matching and sorting (n=250): time 0.1233/0.5893, allocations: 28.22 MB / 1.357 GB, free: 4.781 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003334/0.5897, allocations: 0.4928 MB / 1.357 GB, free: 4.176 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004001/0.5937, allocations: 2.296 MB / 1.36 GB, free: 1.867 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0005164/0.5943, allocations: 77.69 kB / 1.36 GB, free: 1.785 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.00151/0.5958, allocations: 1.434 MB / 1.361 GB, free: 344 kB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001203/0.597, allocations: 0.8241 MB / 1.362 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001089/0.5981, allocations: 416.4 kB / 1.362 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.5983, allocations: 305.1 kB / 1.363 GB, free: 14.78 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005112/0.6034, allocations: 1.929 MB / 1.365 GB, free: 12.85 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005173/0.6086, allocations: 2.228 MB / 1.367 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009869/0.6184, allocations: 4.161 MB / 1.371 GB, free: 6.242 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.6185, allocations: 3.938 kB / 1.371 GB, free: 6.238 MB / 0.8698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01826/0.6367, allocations: 6.535 MB / 1.377 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.6369, allocations: 149.4 kB / 1.377 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.6369, allocations: 4.344 kB / 1.377 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01003/0.647, allocations: 2.93 MB / 1.38 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002844/0.6498, allocations: 487.2 kB / 1.381 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03932/0.6892, allocations: 17.34 MB / 1.398 GB, free: 10.44 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004362/0.6936, allocations: 327.5 kB / 1.398 GB, free: 10.12 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005351/0.6942, allocations: 87.97 kB / 1.398 GB, free: 10.03 MB / 0.9011 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.001918/0.6961, allocations: 0.7043 MB / 1.399 GB, free: 9.32 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009016/0.697, allocations: 332 kB / 1.399 GB, free: 8.992 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.698, allocations: 392 kB / 1.399 GB, free: 8.602 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.166e-05/0.6981, allocations: 24 kB / 1.399 GB, free: 8.578 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-05/0.6981, allocations: 12 kB / 1.399 GB, free: 8.566 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.561e-05/0.6982, allocations: 11.95 kB / 1.399 GB, free: 8.555 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005362/0.7035, allocations: 3.62 MB / 1.403 GB, free: 4.875 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-05/0.7036, allocations: 0 / 1.403 GB, free: 4.875 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002548/0.7061, allocations: 419.4 kB / 1.403 GB, free: 4.465 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009859/0.716, allocations: 2.865 MB / 1.406 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004784/0.7165, allocations: 55.91 kB / 1.406 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03977/0.7563, allocations: 17.11 MB / 1.423 GB, free: 152 kB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/0.7564, allocations: 4.031 kB / 1.423 GB, free: 148 kB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.567/1.323, allocations: 9.974 MB / 1.433 GB, free: 186 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002276/1.326, allocations: 0.7014 MB / 1.433 GB, free: 185.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007122/1.326, allocations: 45.45 kB / 1.433 GB, free: 185.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003565/1.33, allocations: 318.9 kB / 1.434 GB, free: 185.7 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001431/1.331, allocations: 347.8 kB / 1.434 GB, free: 185.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002609/1.332, allocations: 70.75 kB / 1.434 GB, free: 185.6 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002727/1.334, allocations: 1.536 MB / 1.436 GB, free: 185 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.31e-07/1.334, allocations: 0 / 1.436 GB, free: 185 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.004316/1.339, allocations: 1.045 MB / 1.437 GB, free: 184.9 MB / 0.9167 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.0006012/1.339, allocations: 168.4 kB / 1.437 GB, free: 184.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.02662/1.366, allocations: 6.447 MB / 1.443 GB, free: 182.6 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/1.366, allocations: 3.125 kB / 1.443 GB, free: 182.6 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01751/1.384, allocations: 4.05 MB / 1.447 GB, free: 181.3 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005169/1.389, allocations: 1.053 MB / 1.448 GB, free: 181 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02628/1.415, allocations: 9.243 MB / 1.457 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003687/1.419, allocations: 2.331 MB / 1.459 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00323/1.422, allocations: 0.5148 MB / 1.46 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009037/1.423, allocations: 174 kB / 1.46 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of SimCode: time 2.174e-06/1.423, allocations: 0.5 kB / 1.46 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of Templates: time 0.09849/1.522, allocations: 75.66 MB / 1.534 GB, free: 105.4 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)