Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 196.6 kB / 16.53 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.91/1.91, allocations: 292.3 MB / 0.5489 GB, free: 12.85 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 70.02 kB / 0.6715 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2194, allocations: 114.5 MB / 0.7834 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005763/0.2252, allocations: 4.332 MB / 0.7876 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002919/0.2281, allocations: 1.859 MB / 0.7894 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002161/0.2283, allocations: 8 kB / 0.7894 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001581/0.23, allocations: 0.5992 MB / 0.79 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000573/0.2306, allocations: 266.6 kB / 0.7903 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006211/0.2312, allocations: 250.5 kB / 0.7905 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000624/0.2318, allocations: 0.6112 MB / 0.7911 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006486/0.2325, allocations: 459.1 kB / 0.7915 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002446/0.2327, allocations: 251.2 kB / 0.7918 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004087/0.2332, allocations: 275 kB / 0.792 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.033e-05/0.2332, allocations: 36 kB / 0.7921 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004284/0.2337, allocations: 251.5 kB / 0.7923 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.2338, allocations: 151.5 kB / 0.7925 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002008/0.234, allocations: 215 kB / 0.7927 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006983/0.2347, allocations: 0.6036 MB / 0.7932 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2347, allocations: 0 / 0.7932 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2348, allocations: 0 / 0.7932 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.2348, allocations: 0 / 0.7932 GB, free: 3.34 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001261/0.236, allocations: 0.7252 MB / 0.794 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.2361, allocations: 8.031 kB / 0.794 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009302/0.237, allocations: 148.2 kB / 0.7941 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.2374, allocations: 330.5 kB / 0.7944 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.2375, allocations: 33.34 kB / 0.7944 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.315e-05/0.2375, allocations: 32.38 kB / 0.7945 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007405/0.2383, allocations: 0.5356 MB / 0.795 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.2383, allocations: 0 / 0.795 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.18e-05/0.2383, allocations: 12 kB / 0.795 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.447e-05/0.2384, allocations: 36.62 kB / 0.795 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005659/0.239, allocations: 386.3 kB / 0.7954 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002508/0.2415, allocations: 2.399 MB / 0.7978 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005275/0.2421, allocations: 274.4 kB / 0.798 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.2422, allocations: 112.8 kB / 0.7981 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.2423, allocations: 0 / 0.7981 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.2423, allocations: 34.56 kB / 0.7982 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=20): time 2.325e-06/0.2423, allocations: 0 / 0.7982 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23): time 0.002254/0.2446, allocations: 1.135 MB / 0.7993 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.2446, allocations: 55.41 kB / 0.7993 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.2449, allocations: 304.5 kB / 0.7996 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.2449, allocations: 29.7 kB / 0.7996 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.2451, allocations: 231.6 kB / 0.7999 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.619e-05/0.2451, allocations: 86.75 kB / 0.7999 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.511e-05/0.2452, allocations: 58.03 kB / 0.8 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.2454, allocations: 338.8 kB / 0.8003 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.2455, allocations: 104.6 kB / 0.8004 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.2457, allocations: 191.7 kB / 0.8006 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003705/0.2461, allocations: 313.6 kB / 0.8009 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2461, allocations: 4 kB / 0.8009 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007304/0.2469, allocations: 439.1 kB / 0.8013 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.2469, allocations: 8.062 kB / 0.8013 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.2469, allocations: 4 kB / 0.8013 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003816/0.2473, allocations: 102.4 kB / 0.8014 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/0.2476, allocations: 63.91 kB / 0.8015 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003226/0.2508, allocations: 4.391 MB / 0.8058 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.2511, allocations: 8 kB / 0.8058 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/0.2511, allocations: 12 kB / 0.8058 GB, free: 5.445 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002038/0.2513, allocations: 193.7 kB / 0.806 GB, free: 5.246 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.288e-05/0.2514, allocations: 35.56 kB / 0.806 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.595e-05/0.2515, allocations: 34.31 kB / 0.8061 GB, free: 5.18 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2515, allocations: 4 kB / 0.8061 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.2515, allocations: 4 kB / 0.8061 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.2515, allocations: 0 / 0.8061 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004215/0.2519, allocations: 401.4 kB / 0.8064 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2519, allocations: 4 kB / 0.8065 GB, free: 4.727 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.2521, allocations: 35.91 kB / 0.8065 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002957/0.2524, allocations: 98.5 kB / 0.8066 GB, free: 4.586 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.2525, allocations: 3.938 kB / 0.8066 GB, free: 4.582 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002979/0.2554, allocations: 4.391 MB / 0.8109 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2555, allocations: 3.938 kB / 0.8109 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007639/0.2562, allocations: 0.5583 MB / 0.8114 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.2564, allocations: 124.7 kB / 0.8115 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.2564, allocations: 4 kB / 0.8115 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.2566, allocations: 12 kB / 0.8116 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.2567, allocations: 23.97 kB / 0.8116 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.2567, allocations: 8 kB / 0.8116 GB, free: 15 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001989/0.2569, allocations: 211.1 kB / 0.8118 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2569, allocations: 0 / 0.8118 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000465/0.2574, allocations: 99.94 kB / 0.8119 GB, free: 14.7 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001224/0.2575, allocations: 107.9 kB / 0.812 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008271/0.2584, allocations: 0.6249 MB / 0.8126 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.2584, allocations: 0 / 0.8126 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004669/0.2588, allocations: 472.7 kB / 0.813 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004701/0.2593, allocations: 76.53 kB / 0.8131 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.2605, allocations: 0.7154 MB / 0.8138 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.2608, allocations: 0.835 MB / 0.8146 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001962/0.2611, allocations: 58.94 kB / 0.8147 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.637e-05/0.2611, allocations: 23.44 kB / 0.8147 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of SimCode: time 3e-07/0.2611, allocations: 0 / 0.8147 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of Templates: time 0.008284/0.2694, allocations: 4.432 MB / 0.819 GB, free: 7.277 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)