Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel") translateModel(IBPSA.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001188/0.001188, allocations: 100.1 kB / 15.88 MB, free: 12 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.00146/0.00146, allocations: 207.3 kB / 16.79 MB, free: 6.84 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.431/1.431, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7906/0.7906, allocations: 122.9 MB / 413.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 60.94 kB / 0.4904 GB, free: 14.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1541, allocations: 77.92 MB / 0.5665 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.005778/0.1599, allocations: 4.372 MB / 0.5708 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002709/0.1626, allocations: 1.862 MB / 0.5726 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00021/0.1629, allocations: 11.94 kB / 0.5726 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.1644, allocations: 0.5606 MB / 0.5732 GB, free: 9.914 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005045/0.1649, allocations: 246.9 kB / 0.5734 GB, free: 9.672 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005538/0.1655, allocations: 230.5 kB / 0.5736 GB, free: 9.449 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007204/0.1662, allocations: 0.8335 MB / 0.5744 GB, free: 8.613 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004423/0.1667, allocations: 311.2 kB / 0.5747 GB, free: 8.309 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.1669, allocations: 215.2 kB / 0.5749 GB, free: 8.098 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004416/0.1674, allocations: 279 kB / 0.5752 GB, free: 7.824 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.44e-05/0.1674, allocations: 24 kB / 0.5752 GB, free: 7.801 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005045/0.168, allocations: 311.4 kB / 0.5755 GB, free: 7.496 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.1681, allocations: 143.5 kB / 0.5756 GB, free: 7.355 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.1683, allocations: 203 kB / 0.5758 GB, free: 7.156 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006317/0.169, allocations: 0.6113 MB / 0.5764 GB, free: 6.543 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.169, allocations: 0 / 0.5764 GB, free: 6.543 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.169, allocations: 4 kB / 0.5764 GB, free: 6.539 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.169, allocations: 4 kB / 0.5764 GB, free: 6.535 MB / 446.1 MB 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.001234/0.1702, allocations: 0.729 MB / 0.5772 GB, free: 5.758 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1703, allocations: 8.031 kB / 0.5772 GB, free: 5.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009919/0.1713, allocations: 148.3 kB / 0.5773 GB, free: 5.605 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.1717, allocations: 318.6 kB / 0.5776 GB, free: 5.258 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.1717, allocations: 33.36 kB / 0.5776 GB, free: 5.223 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.502e-05/0.1718, allocations: 28.38 kB / 0.5777 GB, free: 5.195 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007325/0.1725, allocations: 0.5395 MB / 0.5782 GB, free: 4.629 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.1725, allocations: 4 kB / 0.5782 GB, free: 4.625 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.295e-05/0.1726, allocations: 16 kB / 0.5782 GB, free: 4.609 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-05/0.1726, allocations: 28.64 kB / 0.5782 GB, free: 4.578 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005567/0.1732, allocations: 386.3 kB / 0.5786 GB, free: 4.203 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002452/0.1757, allocations: 2.411 MB / 0.581 GB, free: 1.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005104/0.1762, allocations: 258.5 kB / 0.5812 GB, free: 1.309 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.1764, allocations: 108.8 kB / 0.5813 GB, free: 1.199 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.1764, allocations: 4 kB / 0.5813 GB, free: 1.195 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.674e-05/0.1764, allocations: 50.48 kB / 0.5814 GB, free: 1.137 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.1764, allocations: 0 / 0.5814 GB, free: 1.137 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.3155/0.4919, allocations: 1.119 MB / 0.5825 GB, free: 24 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.492, allocations: 58.66 kB / 0.5825 GB, free: 23.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004672/0.4925, allocations: 295.9 kB / 0.5828 GB, free: 23.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.361e-05/0.4926, allocations: 30.8 kB / 0.5828 GB, free: 23.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.4927, allocations: 233.2 kB / 0.5831 GB, free: 23.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.697e-05/0.4928, allocations: 80.86 kB / 0.5831 GB, free: 23.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.4929, allocations: 63.5 kB / 0.5832 GB, free: 23.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.156e-05/0.493, allocations: 341.8 kB / 0.5835 GB, free: 23.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.4932, allocations: 102.5 kB / 0.5836 GB, free: 23.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.4934, allocations: 195.9 kB / 0.5838 GB, free: 23.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003971/0.4938, allocations: 316.9 kB / 0.5841 GB, free: 23.15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4938, allocations: 1.062 kB / 0.5841 GB, free: 23.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008198/0.4947, allocations: 442.9 kB / 0.5845 GB, free: 23.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.4947, allocations: 6.156 kB / 0.5845 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.4947, allocations: 7.391 kB / 0.5845 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004071/0.4951, allocations: 99.22 kB / 0.5846 GB, free: 23.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.4954, allocations: 60.83 kB / 0.5847 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002564/0.498, allocations: 4.077 MB / 0.5887 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/0.4983, allocations: 8.578 kB / 0.5887 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.4983, allocations: 18.31 kB / 0.5887 GB, free: 19.01 MB / 446.1 MB 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.0002201/0.4985, allocations: 179.2 kB / 0.5889 GB, free: 18.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.344e-05/0.4986, allocations: 29.23 kB / 0.5889 GB, free: 18.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.731e-05/0.4987, allocations: 38.22 kB / 0.5889 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.4987, allocations: 2.438 kB / 0.5889 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.4987, allocations: 1.25 kB / 0.5889 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.4987, allocations: 1.312 kB / 0.5889 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004939/0.4992, allocations: 408.1 kB / 0.5893 GB, free: 18.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4992, allocations: 0 / 0.5893 GB, free: 18.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001937/0.4994, allocations: 34.67 kB / 0.5894 GB, free: 18.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000316/0.4998, allocations: 97.7 kB / 0.5895 GB, free: 18.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.4998, allocations: 11.48 kB / 0.5895 GB, free: 18.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002225/0.502, allocations: 4.07 MB / 0.5934 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.502, allocations: 0 / 0.5934 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008235/0.5029, allocations: 0.5571 MB / 0.594 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.503, allocations: 129.2 kB / 0.5941 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.011e-05/0.5031, allocations: 1.188 kB / 0.5941 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.5033, allocations: 12.83 kB / 0.5941 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/0.5033, allocations: 22.84 kB / 0.5941 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.5034, allocations: 8.562 kB / 0.5942 GB, free: 14.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002288/0.5036, allocations: 212.2 kB / 0.5944 GB, free: 13.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5036, allocations: 1.375 kB / 0.5944 GB, free: 13.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005245/0.5041, allocations: 94.69 kB / 0.5944 GB, free: 13.92 MB / 446.1 MB 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.0001196/0.5043, allocations: 112.8 kB / 0.5946 GB, free: 13.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008413/0.5051, allocations: 0.6046 MB / 0.5951 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.5051, allocations: 0 / 0.5951 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00045/0.5056, allocations: 472.3 kB / 0.5956 GB, free: 13.01 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005639/0.5061, allocations: 73.17 kB / 0.5957 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.508, allocations: 0.8682 MB / 0.5965 GB, free: 12.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.5085, allocations: 0.8311 MB / 0.5973 GB, free: 11.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002851/0.5088, allocations: 61.3 kB / 0.5974 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.246e-05/0.5089, allocations: 23.19 kB / 0.5974 GB, free: 11.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.021e-06/0.5089, allocations: 1.312 kB / 0.5974 GB, free: 11.7 MB / 446.1 MB Notification: Performance of Templates: time 0.01154/0.5204, allocations: 4.281 MB / 0.6016 GB, free: 11.43 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)