Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.195/2.195, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.002143/0.002143, allocations: 180.9 kB / 326.3 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.519/2.519, allocations: 205.4 MB / 0.5772 GB, free: 20.71 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.000943/0.0009426, allocations: 90.34 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000467/0.0004672, allocations: 11.81 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2091, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.00554/0.2147, allocations: 3.81 MB / 0.9032 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003445/0.2182, allocations: 1.755 MB / 0.9049 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002493/0.2185, allocations: 7.938 kB / 0.9049 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002974/0.2188, allocations: 71.42 kB / 0.905 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006788/0.2195, allocations: 202.9 kB / 0.9052 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007382/0.2203, allocations: 187.6 kB / 0.9054 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007947/0.2211, allocations: 0.6813 MB / 0.906 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005185/0.2216, allocations: 404.9 kB / 0.9064 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002932/0.2219, allocations: 203.2 kB / 0.9066 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005186/0.2225, allocations: 247.1 kB / 0.9069 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.905e-05/0.2226, allocations: 20 kB / 0.9069 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004169/0.223, allocations: 131.8 kB / 0.907 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.2231, allocations: 119.7 kB / 0.9071 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.59e-05/0.2232, allocations: 101.5 kB / 0.9072 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005728/0.2238, allocations: 467 kB / 0.9077 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.2238, allocations: 0 / 0.9077 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.245e-06/0.2239, allocations: 0 / 0.9077 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.116e-06/0.2239, allocations: 0 / 0.9077 GB, free: 57.11 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001396/0.2253, allocations: 0.6571 MB / 0.9083 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.2253, allocations: 12.03 kB / 0.9083 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.2268, allocations: 152.3 kB / 0.9085 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005729/0.2274, allocations: 326.6 kB / 0.9088 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.2274, allocations: 29.34 kB / 0.9088 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.254e-05/0.2275, allocations: 32.38 kB / 0.9088 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.2286, allocations: 0.5356 MB / 0.9094 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.2286, allocations: 0 / 0.9094 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.879e-05/0.2287, allocations: 16 kB / 0.9094 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.97e-05/0.2288, allocations: 32.64 kB / 0.9094 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008709/0.2296, allocations: 382.3 kB / 0.9098 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003356/0.233, allocations: 2.423 MB / 0.9121 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007619/0.2338, allocations: 258.5 kB / 0.9124 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/0.2341, allocations: 108.8 kB / 0.9125 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.2341, allocations: 0 / 0.9125 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.2342, allocations: 42.56 kB / 0.9125 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 2.164e-06/0.2342, allocations: 0 / 0.9125 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.003066/0.2372, allocations: 1.12 MB / 0.9136 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/0.2373, allocations: 59.41 kB / 0.9137 GB, free: 50.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000372/0.2377, allocations: 300.5 kB / 0.914 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.2377, allocations: 29.7 kB / 0.914 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.2379, allocations: 227.6 kB / 0.9142 GB, free: 49.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.937e-05/0.238, allocations: 82.84 kB / 0.9143 GB, free: 49.83 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.19e-05/0.238, allocations: 8 kB / 0.9143 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.018e-05/0.2381, allocations: 342.8 kB / 0.9146 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/0.2384, allocations: 100.6 kB / 0.9147 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/0.2387, allocations: 192.3 kB / 0.9149 GB, free: 49.15 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003098/0.239, allocations: 133.1 kB / 0.915 GB, free: 49.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.239, allocations: 0 / 0.915 GB, free: 49.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00111/0.2401, allocations: 443.7 kB / 0.9154 GB, free: 48.58 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.2402, allocations: 4 kB / 0.9154 GB, free: 48.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.2402, allocations: 4 kB / 0.9155 GB, free: 48.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005373/0.2407, allocations: 98.62 kB / 0.9155 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004876/0.2412, allocations: 63.91 kB / 0.9156 GB, free: 48.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00321/0.2445, allocations: 4.079 MB / 0.9196 GB, free: 43.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000417/0.2449, allocations: 8 kB / 0.9196 GB, free: 43.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.851e-05/0.245, allocations: 15.94 kB / 0.9196 GB, free: 43.89 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002623/0.2452, allocations: 182.7 kB / 0.9198 GB, free: 43.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.678e-05/0.2453, allocations: 35.62 kB / 0.9198 GB, free: 43.67 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.497e-05/0.2454, allocations: 38.31 kB / 0.9199 GB, free: 43.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.2454, allocations: 8.078 kB / 0.9199 GB, free: 43.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.2454, allocations: 0 / 0.9199 GB, free: 43.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.2456, allocations: 124.7 kB / 0.92 GB, free: 43.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.898e-05/0.2457, allocations: 7.938 kB / 0.92 GB, free: 43.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003508/0.246, allocations: 12 kB / 0.92 GB, free: 43.46 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.852e-05/0.2461, allocations: 19.91 kB / 0.92 GB, free: 43.45 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001304/0.2474, allocations: 439.1 kB / 0.9204 GB, free: 43 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007681/0.2482, allocations: 0.5176 MB / 0.9209 GB, free: 42.46 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002027/0.2484, allocations: 88.55 kB / 0.921 GB, free: 42.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002588/0.2487, allocations: 211.1 kB / 0.9212 GB, free: 42.18 MB / 0.6042 GB Notification: Performance of Backend: time 7.72e-07/0.2487, allocations: 0 / 0.9212 GB, free: 42.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001583/0.2503, allocations: 0.6523 MB / 0.9219 GB, free: 41.48 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001896/0.2522, allocations: 1.391 MB / 0.9232 GB, free: 40.05 MB / 0.6042 GB Notification: Performance of Templates: time 0.01412/0.2664, allocations: 5.232 MB / 0.9283 GB, free: 34.85 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)