Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLines.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLines") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 115.5 kB / 16.42 MB, free: 6.031 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.001812/0.001812, allocations: 186.2 kB / 17.35 MB, free: 5.633 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002085/0.002085, allocations: 285.2 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.964/0.964, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 91.84 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4946/0.4968, allocations: 86.98 MB / 0.7671 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLines): time 0.03489/0.5317, allocations: 22.6 MB / 0.7891 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02558/0.5573, allocations: 17.63 MB / 0.8063 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00416/0.5615, allocations: 119.4 kB / 0.8065 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01086/0.5724, allocations: 4.171 MB / 0.8105 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01068/0.5831, allocations: 3.509 MB / 0.814 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003791/0.5869, allocations: 1.32 MB / 0.8152 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008839/0.5958, allocations: 5.574 MB / 0.8207 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005861/0.6017, allocations: 3.54 MB / 0.8241 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004592/0.6063, allocations: 2.371 MB / 0.8265 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005181/0.6115, allocations: 2.397 MB / 0.8288 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001585/0.6131, allocations: 348 kB / 0.8291 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003296/0.6164, allocations: 1.022 MB / 0.8301 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001922/0.6183, allocations: 1.153 MB / 0.8313 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004443/0.6228, allocations: 1.963 MB / 0.8332 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.008591/0.6314, allocations: 5.069 MB / 0.8381 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.6315, allocations: 0 / 0.8381 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6315, allocations: 0 / 0.8381 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002093/0.6317, allocations: 0 / 0.8381 GB, free: 10.82 MB / 0.6075 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.01123/0.6429, allocations: 4.394 MB / 0.8424 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.643, allocations: 12.03 kB / 0.8424 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01735/0.6603, allocations: 3.254 MB / 0.8456 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005214/0.6656, allocations: 2.201 MB / 0.8478 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002135/0.6658, allocations: 185.1 kB / 0.8479 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001073/0.6669, allocations: 236.1 kB / 0.8482 GB, free: 364 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01233/0.6793, allocations: 4.685 MB / 0.8527 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.282e-05/0.6793, allocations: 0 / 0.8527 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003117/0.6796, allocations: 99.98 kB / 0.8528 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001972/0.6799, allocations: 168.8 kB / 0.853 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01359/0.6935, allocations: 5.124 MB / 0.858 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02005/0.7135, allocations: 13.92 MB / 0.8716 GB, free: 7.031 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01107/0.7246, allocations: 3.561 MB / 0.8751 GB, free: 3.461 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003698/0.7283, allocations: 1.389 MB / 0.8764 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001556/0.7285, allocations: 29.23 kB / 0.8764 GB, free: 2.047 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00445/0.733, allocations: 1.699 MB / 0.8781 GB, free: 292 kB / 0.6387 GB Notification: Performance of pre-optimization done (n=163): time 4.879e-06/0.733, allocations: 4 kB / 0.8781 GB, free: 288 kB / 0.6387 GB Notification: Performance of matching and sorting (n=250): time 0.1251/0.8582, allocations: 27.43 MB / 0.9049 GB, free: 4.617 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000252/0.8585, allocations: 0.4928 MB / 0.9054 GB, free: 4.016 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003938/0.8624, allocations: 2.296 MB / 0.9076 GB, free: 1.707 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0004112/0.8628, allocations: 77.7 kB / 0.9077 GB, free: 1.625 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001301/0.8642, allocations: 1.43 MB / 0.9091 GB, free: 184 kB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001021/0.8652, allocations: 0.824 MB / 0.9099 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001087/0.8663, allocations: 412.5 kB / 0.9103 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.817e-05/0.8664, allocations: 305.1 kB / 0.9106 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005011/0.8714, allocations: 1.755 MB / 0.9123 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005248/0.8767, allocations: 2.04 MB / 0.9143 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01018/0.8869, allocations: 3.845 MB / 0.918 GB, free: 6.762 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.8869, allocations: 0 / 0.918 GB, free: 6.762 MB / 0.6856 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0169/0.9038, allocations: 5.809 MB / 0.9237 GB, free: 0.8594 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.904, allocations: 144.5 kB / 0.9239 GB, free: 0.6875 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/0.904, allocations: 8 kB / 0.9239 GB, free: 0.6797 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006479/0.9105, allocations: 1.836 MB / 0.9257 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003052/0.9136, allocations: 0.4953 MB / 0.9261 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02398/0.9376, allocations: 15.4 MB / 0.9412 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003932/0.9415, allocations: 303.7 kB / 0.9415 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004038/0.942, allocations: 95.91 kB / 0.9416 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006038/0.948, allocations: 2.316 MB / 0.9438 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005144/0.9532, allocations: 2.02 MB / 0.9458 GB, free: 9.875 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009769/0.963, allocations: 3.802 MB / 0.9495 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.406e-06/0.963, allocations: 4 kB / 0.9495 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.01549/0.9785, allocations: 5.642 MB / 0.955 GB, free: 208 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.473e-05/0.9786, allocations: 152.5 kB / 0.9552 GB, free: 24 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.9786, allocations: 11.94 kB / 0.9552 GB, free: 12 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005617/0.9843, allocations: 1.673 MB / 0.9568 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003028/0.9873, allocations: 0.5148 MB / 0.9573 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3799/1.367, allocations: 14.6 MB / 0.9716 GB, free: 184.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004314/1.372, allocations: 301.4 kB / 0.9719 GB, free: 184.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000323/1.372, allocations: 92.34 kB / 0.972 GB, free: 184.3 MB / 0.7325 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.0006227/1.373, allocations: 320.1 kB / 0.9723 GB, free: 184.1 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000662/1.373, allocations: 333.8 kB / 0.9726 GB, free: 184.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009854/1.374, allocations: 391.7 kB / 0.973 GB, free: 184.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-05/1.374, allocations: 14.94 kB / 0.973 GB, free: 184.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/1.374, allocations: 1.594 kB / 0.973 GB, free: 184.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/1.376, allocations: 0.6664 MB / 0.9736 GB, free: 184 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004795/1.376, allocations: 46.33 kB / 0.9737 GB, free: 184 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003051/1.379, allocations: 302.2 kB / 0.974 GB, free: 184 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000858/1.38, allocations: 350.1 kB / 0.9743 GB, free: 184 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01759/1.398, allocations: 5.706 MB / 0.9799 GB, free: 183.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01388/1.411, allocations: 6.021 MB / 0.9857 GB, free: 182.2 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004401/1.416, allocations: 1.962 MB / 0.9877 GB, free: 181.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002051/1.418, allocations: 1.536 MB / 0.9892 GB, free: 181.1 MB / 0.7325 GB Notification: Performance of Backend: time 4.21e-07/1.418, allocations: 0 / 0.9892 GB, free: 181.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01818/1.436, allocations: 8.135 MB / 0.9971 GB, free: 177.7 MB / 0.7325 GB Notification: Performance of SimCode: time 0.00997/1.446, allocations: 7.581 MB / 1.005 GB, free: 172.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.1129/1.559, allocations: 92.54 MB / 1.095 GB, free: 81.07 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLines.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)