Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.577/2.577, allocations: 287.3 MB / 302.3 MB, free: 8.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001531/0.001531, allocations: 189 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.259/2.259, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001184/0.001183, allocations: 104.5 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007264/0.0007266, allocations: 12.17 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2231, allocations: 115.3 MB / 0.9782 GB, free: 28.42 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005522/0.2287, allocations: 3.682 MB / 0.9818 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003789/0.2326, allocations: 1.724 MB / 0.9835 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003932/0.233, allocations: 11.94 kB / 0.9835 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003613/0.2334, allocations: 75.52 kB / 0.9836 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009628/0.2344, allocations: 187.5 kB / 0.9837 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.2355, allocations: 189.4 kB / 0.9839 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009343/0.2364, allocations: 355.2 kB / 0.9843 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006961/0.2372, allocations: 388.9 kB / 0.9846 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003737/0.2376, allocations: 175.4 kB / 0.9848 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005509/0.2381, allocations: 179.3 kB / 0.985 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.175e-05/0.2382, allocations: 20 kB / 0.985 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005662/0.2388, allocations: 123.8 kB / 0.9851 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000197/0.239, allocations: 115.7 kB / 0.9852 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.2392, allocations: 101.5 kB / 0.9853 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008918/0.2401, allocations: 447.1 kB / 0.9857 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2402, allocations: 4 kB / 0.9857 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.655e-06/0.2402, allocations: 0 / 0.9857 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.2402, allocations: 0 / 0.9857 GB, free: 20.62 MB / 0.6198 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.001923/0.2421, allocations: 0.6705 MB / 0.9864 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.2422, allocations: 12.02 kB / 0.9864 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002398/0.2446, allocations: 163.2 kB / 0.9866 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008452/0.2455, allocations: 325.3 kB / 0.9869 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.59e-05/0.2456, allocations: 25 kB / 0.9869 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.2457, allocations: 35.98 kB / 0.9869 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.2473, allocations: 0.5197 MB / 0.9874 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/0.2473, allocations: 0 / 0.9874 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-05/0.2474, allocations: 27.97 kB / 0.9875 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/0.2476, allocations: 32.62 kB / 0.9875 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.2489, allocations: 390.2 kB / 0.9879 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004739/0.2537, allocations: 2.4 MB / 0.9902 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.2548, allocations: 278.7 kB / 0.9905 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.2548, allocations: 3.953 kB / 0.9905 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.2549, allocations: 34.56 kB / 0.9905 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 4.008e-06/0.2549, allocations: 0 / 0.9905 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.004384/0.2593, allocations: 1.122 MB / 0.9916 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.2594, allocations: 55.41 kB / 0.9917 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005677/0.26, allocations: 296.5 kB / 0.9919 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.637e-05/0.2601, allocations: 29.7 kB / 0.992 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/0.2603, allocations: 231.5 kB / 0.9922 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.2604, allocations: 86.83 kB / 0.9923 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.2605, allocations: 8 kB / 0.9923 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.2606, allocations: 338.8 kB / 0.9926 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000376/0.261, allocations: 104.5 kB / 0.9927 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004463/0.2614, allocations: 187.8 kB / 0.9929 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004599/0.2619, allocations: 126 kB / 0.993 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.2619, allocations: 7.984 kB / 0.993 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001665/0.2636, allocations: 442.2 kB / 0.9934 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.2637, allocations: 8.031 kB / 0.9934 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.2637, allocations: 4 kB / 0.9934 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007666/0.2645, allocations: 98.44 kB / 0.9935 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006938/0.2652, allocations: 59.91 kB / 0.9936 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004833/0.2701, allocations: 4.099 MB / 0.9976 GB, free: 7.496 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006009/0.2707, allocations: 12.03 kB / 0.9976 GB, free: 7.484 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.835e-05/0.2708, allocations: 12 kB / 0.9976 GB, free: 7.473 MB / 0.6198 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.0003774/0.2712, allocations: 182 kB / 0.9978 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.2713, allocations: 31.67 kB / 0.9978 GB, free: 7.254 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.2715, allocations: 46.3 kB / 0.9979 GB, free: 7.211 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.2715, allocations: 7.938 kB / 0.9979 GB, free: 7.203 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/0.2715, allocations: 0 / 0.9979 GB, free: 7.203 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.2715, allocations: 0 / 0.9979 GB, free: 7.203 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009858/0.2725, allocations: 393.4 kB / 0.9983 GB, free: 6.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.331e-06/0.2726, allocations: 3.938 kB / 0.9983 GB, free: 6.766 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005981/0.2732, allocations: 47.91 kB / 0.9983 GB, free: 6.719 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008259/0.274, allocations: 86.5 kB / 0.9984 GB, free: 6.625 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.484e-05/0.2741, allocations: 7.953 kB / 0.9984 GB, free: 6.617 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005273/0.2794, allocations: 4.095 MB / 1.002 GB, free: 2.121 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.2795, allocations: 3.938 kB / 1.002 GB, free: 2.117 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.2814, allocations: 0.5526 MB / 1.003 GB, free: 1.539 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002551/0.2817, allocations: 124.7 kB / 1.003 GB, free: 1.398 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.2818, allocations: 11.95 kB / 1.003 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005018/0.2823, allocations: 4 kB / 1.003 GB, free: 1.383 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.2825, allocations: 19.97 kB / 1.003 GB, free: 1.363 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.549e-05/0.2825, allocations: 12.06 kB / 1.003 GB, free: 1.352 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003856/0.2829, allocations: 211.1 kB / 1.003 GB, free: 1.148 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.91e-07/0.2829, allocations: 0 / 1.003 GB, free: 1.148 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009397/0.2839, allocations: 96 kB / 1.003 GB, free: 1.055 MB / 0.6198 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 (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 Backend phase and start with SimCode phase: time 0.000188/0.2841, allocations: 103.2 kB / 1.003 GB, free: 0.9453 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001553/0.2857, allocations: 0.6014 MB / 1.004 GB, free: 312 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.2857, allocations: 4 kB / 1.004 GB, free: 308 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.2868, allocations: 476.5 kB / 1.005 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009353/0.2877, allocations: 60.62 kB / 1.005 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/0.2903, allocations: 0.8633 MB / 1.005 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007718/0.2911, allocations: 0.8425 MB / 1.006 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000597/0.2917, allocations: 58.94 kB / 1.006 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.2919, allocations: 23.44 kB / 1.006 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of SimCode: time 1.322e-06/0.2919, allocations: 0 / 1.006 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of Templates: time 0.01372/0.3056, allocations: 4.099 MB / 1.01 GB, free: 9.852 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)