Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.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.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.18/2.18, allocations: 391.2 MB / 407 MB, free: 10.82 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.001573/0.001573, allocations: 193 kB / 499.1 MB, free: 4.59 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.521/1.521, allocations: 222.9 MB / 0.7948 GB, free: 15.74 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.001097/0.001097, allocations: 99.75 kB / 0.9329 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001023, allocations: 54.31 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2708, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.0174/0.2883, allocations: 22.23 MB / 1.24 GB, free: 94.89 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01955/0.3079, allocations: 17.7 MB / 1.257 GB, free: 77.14 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003933/0.3119, allocations: 103.4 kB / 1.257 GB, free: 77.04 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.009429/0.3213, allocations: 3.911 MB / 1.261 GB, free: 73.12 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.01116/0.3325, allocations: 3.207 MB / 1.264 GB, free: 69.91 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003384/0.3359, allocations: 1.186 MB / 1.265 GB, free: 68.73 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.009183/0.3451, allocations: 6.902 MB / 1.272 GB, free: 61.8 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005069/0.3502, allocations: 2.456 MB / 1.274 GB, free: 59.27 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003891/0.3542, allocations: 2.093 MB / 1.276 GB, free: 57.17 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004193/0.3584, allocations: 2.405 MB / 1.279 GB, free: 54.76 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.001346/0.3597, allocations: 220 kB / 1.279 GB, free: 54.54 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003101/0.3629, allocations: 1.1 MB / 1.28 GB, free: 53.44 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001177/0.3641, allocations: 1.032 MB / 1.281 GB, free: 52.41 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.002185/0.3663, allocations: 1.826 MB / 1.283 GB, free: 50.57 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.004199/0.3705, allocations: 4.96 MB / 1.288 GB, free: 45.59 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3705, allocations: 0 / 1.288 GB, free: 45.59 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.12e-07/0.3705, allocations: 0 / 1.288 GB, free: 45.59 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001288/0.3706, allocations: 0 / 1.288 GB, free: 45.59 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.008392/0.379, allocations: 4.39 MB / 1.292 GB, free: 41.09 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.3791, allocations: 11.98 kB / 1.292 GB, free: 41.08 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01433/0.3934, allocations: 3.269 MB / 1.295 GB, free: 37.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005222/0.3987, allocations: 2.057 MB / 1.297 GB, free: 35.68 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.3989, allocations: 177.1 kB / 1.297 GB, free: 35.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007277/0.3996, allocations: 236.1 kB / 1.298 GB, free: 35.27 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009486/0.4091, allocations: 4.681 MB / 1.302 GB, free: 30.44 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.952e-05/0.4092, allocations: 11.88 kB / 1.302 GB, free: 30.43 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002799/0.4095, allocations: 108 kB / 1.302 GB, free: 30.32 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000153/0.4097, allocations: 168.8 kB / 1.302 GB, free: 30.16 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01199/0.4217, allocations: 5.113 MB / 1.307 GB, free: 25.03 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01943/0.4411, allocations: 14.01 MB / 1.321 GB, free: 9.844 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009426/0.4506, allocations: 3.561 MB / 1.325 GB, free: 6.277 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003072/0.4537, allocations: 1.389 MB / 1.326 GB, free: 4.887 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.4539, allocations: 29.22 kB / 1.326 GB, free: 4.859 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003495/0.4574, allocations: 1.703 MB / 1.328 GB, free: 3.09 MB / 0.823 GB Notification: Performance of pre-optimization done (n=163): time 4.429e-06/0.4574, allocations: 4 kB / 1.328 GB, free: 3.086 MB / 0.823 GB Notification: Performance of matching and sorting (n=250): time 0.1132/0.5706, allocations: 27.39 MB / 1.354 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002707/0.5709, allocations: 0.4889 MB / 1.355 GB, free: 6.867 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003254/0.5742, allocations: 2.3 MB / 1.357 GB, free: 4.555 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003561/0.5746, allocations: 77.69 kB / 1.357 GB, free: 4.473 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001178/0.5757, allocations: 1.442 MB / 1.359 GB, free: 3.016 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007963/0.5765, allocations: 0.8124 MB / 1.359 GB, free: 2.191 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00076/0.5773, allocations: 416.4 kB / 1.36 GB, free: 1.777 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.034e-05/0.5774, allocations: 309.1 kB / 1.36 GB, free: 1.473 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004699/0.5821, allocations: 1.751 MB / 1.362 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004913/0.5871, allocations: 2.052 MB / 1.364 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009146/0.5962, allocations: 3.837 MB / 1.368 GB, free: 9.602 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.5963, allocations: 3.984 kB / 1.368 GB, free: 9.598 MB / 0.8698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01492/0.6112, allocations: 5.81 MB / 1.373 GB, free: 3.695 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001234/0.6114, allocations: 144.5 kB / 1.373 GB, free: 3.523 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.6114, allocations: 8 kB / 1.373 GB, free: 3.516 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006144/0.6175, allocations: 1.832 MB / 1.375 GB, free: 1.676 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002841/0.6204, allocations: 0.4914 MB / 1.376 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02187/0.6423, allocations: 14.07 MB / 1.389 GB, free: 2.883 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003999/0.6464, allocations: 311.5 kB / 1.39 GB, free: 2.578 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003631/0.6468, allocations: 87.97 kB / 1.39 GB, free: 2.492 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005734/0.6525, allocations: 2.316 MB / 1.392 GB, free: 172 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005128/0.6576, allocations: 2.038 MB / 1.394 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009705/0.6674, allocations: 3.794 MB / 1.398 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.078e-05/0.6674, allocations: 0 / 1.398 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.01506/0.6825, allocations: 5.649 MB / 1.403 GB, free: 4.367 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.6826, allocations: 148.5 kB / 1.403 GB, free: 4.191 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.6827, allocations: 4 kB / 1.403 GB, free: 4.188 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005462/0.6881, allocations: 1.673 MB / 1.405 GB, free: 2.508 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00299/0.6911, allocations: 0.5187 MB / 1.406 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01948/0.7106, allocations: 13.34 MB / 1.419 GB, free: 4.375 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003754/0.7144, allocations: 307.6 kB / 1.419 GB, free: 4.074 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002631/0.7147, allocations: 87.97 kB / 1.419 GB, free: 3.988 MB / 0.9167 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 (172): * Single equations (assignments): 165 * 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 {(10,52)} Notification: Performance of prepare postOptimizeDAE: time 0.0006028/0.7153, allocations: 331.5 kB / 1.419 GB, free: 3.66 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005152/0.7158, allocations: 332.1 kB / 1.42 GB, free: 3.332 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000952/0.7168, allocations: 392.1 kB / 1.42 GB, free: 2.941 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/0.7168, allocations: 24 kB / 1.42 GB, free: 2.918 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.871e-05/0.7169, allocations: 12 kB / 1.42 GB, free: 2.906 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.357e-05/0.7169, allocations: 11.95 kB / 1.42 GB, free: 2.895 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5219/1.239, allocations: 3.163 MB / 1.423 GB, free: 187.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.25e-05/1.239, allocations: 0.5625 kB / 1.423 GB, free: 187.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002932/1.242, allocations: 431.8 kB / 1.424 GB, free: 187.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0069/1.249, allocations: 1.699 MB / 1.425 GB, free: 187.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004518/1.249, allocations: 49.25 kB / 1.425 GB, free: 187.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0209/1.27, allocations: 13.86 MB / 1.439 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.27, allocations: 0 / 1.439 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02112/1.291, allocations: 8.945 MB / 1.447 GB, free: 178.8 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001593/1.293, allocations: 0.6683 MB / 1.448 GB, free: 178.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004258/1.293, allocations: 51.19 kB / 1.448 GB, free: 178.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002801/1.296, allocations: 300.8 kB / 1.448 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009916/1.297, allocations: 295.5 kB / 1.449 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001738/1.297, allocations: 75.5 kB / 1.449 GB, free: 178.2 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001754/1.299, allocations: 1.534 MB / 1.45 GB, free: 177.7 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.2e-07/1.299, allocations: 0 / 1.45 GB, free: 177.7 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003821/1.303, allocations: 1.642 MB / 1.452 GB, free: 177.5 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 (128): * Single equations (assignments): 116 * 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,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003017/1.303, allocations: 165.1 kB / 1.452 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.02323/1.327, allocations: 9.271 MB / 1.461 GB, free: 173.7 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.454e-05/1.327, allocations: 0 / 1.461 GB, free: 173.7 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.008311/1.335, allocations: 3.298 MB / 1.464 GB, free: 172.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004787/1.34, allocations: 1.043 MB / 1.465 GB, free: 172.2 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01409/1.354, allocations: 9.077 MB / 1.474 GB, free: 164.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00183/1.356, allocations: 2.375 MB / 1.477 GB, free: 162.4 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002933/1.359, allocations: 0.6364 MB / 1.477 GB, free: 161.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006913/1.359, allocations: 183.3 kB / 1.477 GB, free: 161.6 MB / 0.9167 GB Notification: Performance of SimCode: time 5.81e-07/1.359, allocations: 0 / 1.477 GB, free: 161.6 MB / 0.9167 GB Notification: Performance of Templates: time 0.1045/1.464, allocations: 78.78 MB / 1.554 GB, free: 83.69 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)