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.656/2.656, allocations: 287.5 MB / 302.4 MB, free: 8.246 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.001926/0.001926, allocations: 178.2 kB / 371 MB, free: 10.86 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.292/2.292, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.000953/0.000953, allocations: 89.88 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005486/0.0005489, allocations: 10.81 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2288, allocations: 115.3 MB / 0.9784 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.008198/0.2371, allocations: 3.806 MB / 0.9821 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005377/0.2425, allocations: 1.743 MB / 0.9838 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004512/0.2431, allocations: 11.94 kB / 0.9838 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000426/0.2435, allocations: 63.48 kB / 0.9838 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.2447, allocations: 214.9 kB / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.2459, allocations: 179.6 kB / 0.9842 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001434/0.2474, allocations: 0.6774 MB / 0.9849 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007777/0.2482, allocations: 392.9 kB / 0.9853 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005277/0.2487, allocations: 195.2 kB / 0.9854 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007815/0.2495, allocations: 243.1 kB / 0.9857 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.2497, allocations: 20 kB / 0.9857 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006795/0.2504, allocations: 135.8 kB / 0.9858 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002208/0.2506, allocations: 127.7 kB / 0.9859 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.2508, allocations: 101.5 kB / 0.986 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008933/0.2517, allocations: 459 kB / 0.9865 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.2517, allocations: 0 / 0.9865 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.465e-06/0.2518, allocations: 0 / 0.9865 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.776e-05/0.2518, allocations: 0 / 0.9865 GB, free: 19.99 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.002049/0.2539, allocations: 0.655 MB / 0.9871 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.2539, allocations: 16.02 kB / 0.9871 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00233/0.2563, allocations: 159.2 kB / 0.9873 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009555/0.2573, allocations: 321.3 kB / 0.9876 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.982e-05/0.2574, allocations: 32.92 kB / 0.9876 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.2575, allocations: 32 kB / 0.9877 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.2592, allocations: 0.5275 MB / 0.9882 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.041e-05/0.2593, allocations: 0 / 0.9882 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.2595, allocations: 19.98 kB / 0.9882 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001122/0.2596, allocations: 28.64 kB / 0.9882 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.2611, allocations: 390.2 kB / 0.9886 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005574/0.2668, allocations: 2.411 MB / 0.9909 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.268, allocations: 261.1 kB / 0.9912 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003628/0.2684, allocations: 116.8 kB / 0.9913 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.2685, allocations: 0 / 0.9913 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001111/0.2686, allocations: 38.56 kB / 0.9913 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 2.895e-06/0.2686, allocations: 4 kB / 0.9913 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.003115/0.2717, allocations: 1.121 MB / 0.9924 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.2718, allocations: 59.41 kB / 0.9925 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003862/0.2722, allocations: 296.5 kB / 0.9928 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.2723, allocations: 33.7 kB / 0.9928 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.2724, allocations: 235.5 kB / 0.993 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.665e-05/0.2725, allocations: 82.84 kB / 0.9931 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.914e-05/0.2725, allocations: 4 kB / 0.9931 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.776e-05/0.2726, allocations: 338.8 kB / 0.9934 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.2729, allocations: 108.5 kB / 0.9935 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.2732, allocations: 187.7 kB / 0.9937 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003052/0.2735, allocations: 138 kB / 0.9939 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.2735, allocations: 0 / 0.9939 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001072/0.2746, allocations: 442.1 kB / 0.9943 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.2747, allocations: 11.89 kB / 0.9943 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.2747, allocations: 4 kB / 0.9943 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005314/0.2752, allocations: 94.69 kB / 0.9944 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004803/0.2757, allocations: 63.91 kB / 0.9944 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0032/0.2789, allocations: 4.068 MB / 0.9984 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/0.2794, allocations: 11.94 kB / 0.9984 GB, free: 6.773 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.2794, allocations: 16 kB / 0.9984 GB, free: 6.758 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.0002666/0.2797, allocations: 175.1 kB / 0.9986 GB, free: 6.578 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.275e-05/0.2798, allocations: 31.67 kB / 0.9986 GB, free: 6.547 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.876e-05/0.2799, allocations: 42.31 kB / 0.9987 GB, free: 6.508 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2799, allocations: 8.094 kB / 0.9987 GB, free: 6.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.2799, allocations: 0 / 0.9987 GB, free: 6.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.2799, allocations: 3.984 kB / 0.9987 GB, free: 6.496 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005923/0.2805, allocations: 389.4 kB / 0.9991 GB, free: 6.066 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-06/0.2806, allocations: 3.984 kB / 0.9991 GB, free: 6.062 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003349/0.2809, allocations: 39.94 kB / 0.9991 GB, free: 6.023 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004603/0.2814, allocations: 94.44 kB / 0.9992 GB, free: 5.922 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.2814, allocations: 4 kB / 0.9992 GB, free: 5.918 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003035/0.2845, allocations: 4.064 MB / 1.003 GB, free: 1.453 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2845, allocations: 8.25 kB / 1.003 GB, free: 1.445 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.2857, allocations: 0.5485 MB / 1.004 GB, free: 0.8711 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/0.2859, allocations: 128.7 kB / 1.004 GB, free: 0.7266 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.736e-05/0.2859, allocations: 4 kB / 1.004 GB, free: 0.7227 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003225/0.2863, allocations: 16.05 kB / 1.004 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.809e-05/0.2864, allocations: 19.92 kB / 1.004 GB, free: 0.6875 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.2864, allocations: 8 kB / 1.004 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000258/0.2867, allocations: 211.1 kB / 1.004 GB, free: 488 kB / 0.6198 GB Notification: Performance of sort global known variables: time 4.51e-07/0.2867, allocations: 0 / 1.004 GB, free: 488 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006099/0.2873, allocations: 92 kB / 1.004 GB, free: 396 kB / 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.0001332/0.2875, allocations: 107.2 kB / 1.004 GB, free: 280 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001236/0.2887, allocations: 0.6133 MB / 1.005 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.2887, allocations: 0 / 1.005 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007943/0.2895, allocations: 476 kB / 1.005 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007727/0.2903, allocations: 76.86 kB / 1.005 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.2922, allocations: 0.8436 MB / 1.006 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006372/0.2929, allocations: 0.8309 MB / 1.007 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003984/0.2933, allocations: 70.8 kB / 1.007 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.469e-05/0.2934, allocations: 27.42 kB / 1.007 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of SimCode: time 1.272e-06/0.2934, allocations: 0 / 1.007 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of Templates: time 0.01342/0.3068, allocations: 4.097 MB / 1.011 GB, free: 9.168 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)