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.001023/0.001023, allocations: 105.9 kB / 16.27 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 188.8 kB / 17.19 MB, free: 5.527 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.337/1.337, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7842/0.7842, allocations: 122.9 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 59.91 kB / 0.4911 GB, free: 7.395 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3595, allocations: 77.92 MB / 0.5672 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.005424/0.3649, allocations: 4.337 MB / 0.5715 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002625/0.3676, allocations: 1.862 MB / 0.5733 GB, free: 28.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001812/0.3678, allocations: 12.19 kB / 0.5733 GB, free: 28.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001487/0.3693, allocations: 0.5951 MB / 0.5739 GB, free: 28.06 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000491/0.3698, allocations: 255 kB / 0.5741 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005713/0.3703, allocations: 250.5 kB / 0.5743 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006477/0.371, allocations: 0.6126 MB / 0.5749 GB, free: 27.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008053/0.3718, allocations: 476.8 kB / 0.5754 GB, free: 27.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003427/0.3722, allocations: 246.1 kB / 0.5756 GB, free: 27.24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000525/0.3727, allocations: 271.6 kB / 0.5759 GB, free: 27.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.164e-05/0.3728, allocations: 36.75 kB / 0.5759 GB, free: 27.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005283/0.3733, allocations: 253.2 kB / 0.5762 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001915/0.3735, allocations: 149.7 kB / 0.5763 GB, free: 26.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002452/0.3738, allocations: 215.4 kB / 0.5765 GB, free: 26.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008353/0.3746, allocations: 0.6058 MB / 0.5771 GB, free: 26.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3746, allocations: 0 / 0.5771 GB, free: 26.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3747, allocations: 3.938 kB / 0.5771 GB, free: 26.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.3747, allocations: 0 / 0.5771 GB, free: 26.64 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.001215/0.3759, allocations: 0.7204 MB / 0.5778 GB, free: 26.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.3759, allocations: 9.5 kB / 0.5778 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000997/0.3769, allocations: 153.3 kB / 0.578 GB, free: 26.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000398/0.3773, allocations: 326.2 kB / 0.5783 GB, free: 25.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.3774, allocations: 32.7 kB / 0.5783 GB, free: 25.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-05/0.3775, allocations: 30.38 kB / 0.5783 GB, free: 25.76 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007709/0.3782, allocations: 0.5353 MB / 0.5789 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.3783, allocations: 0 / 0.5789 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.138e-05/0.3783, allocations: 12.59 kB / 0.5789 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-05/0.3784, allocations: 32.5 kB / 0.5789 GB, free: 25.47 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006245/0.379, allocations: 391.9 kB / 0.5793 GB, free: 25.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002147/0.3811, allocations: 2.406 MB / 0.5816 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000499/0.3817, allocations: 257.8 kB / 0.5819 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.3818, allocations: 117.2 kB / 0.582 GB, free: 23.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.3819, allocations: 2.375 kB / 0.582 GB, free: 23.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.3819, allocations: 36.31 kB / 0.582 GB, free: 22.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/0.3819, allocations: 0 / 0.582 GB, free: 22.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.002116/0.384, allocations: 1.126 MB / 0.5831 GB, free: 22.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.3841, allocations: 58.67 kB / 0.5832 GB, free: 22.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.3843, allocations: 296.7 kB / 0.5835 GB, free: 21.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.3843, allocations: 32.45 kB / 0.5835 GB, free: 21.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.207e-05/0.3844, allocations: 241.8 kB / 0.5837 GB, free: 21.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.717e-05/0.3845, allocations: 80.84 kB / 0.5838 GB, free: 21.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.697e-05/0.3846, allocations: 62.53 kB / 0.5839 GB, free: 21.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.838e-05/0.3847, allocations: 339.4 kB / 0.5842 GB, free: 21.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.3848, allocations: 104.3 kB / 0.5843 GB, free: 21.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.385, allocations: 187.5 kB / 0.5845 GB, free: 20.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/0.3854, allocations: 322.6 kB / 0.5848 GB, free: 20.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3854, allocations: 1.188 kB / 0.5848 GB, free: 20.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006302/0.386, allocations: 438.8 kB / 0.5852 GB, free: 20.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.386, allocations: 8.625 kB / 0.5852 GB, free: 20.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3861, allocations: 3.094 kB / 0.5852 GB, free: 20.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003357/0.3864, allocations: 98.8 kB / 0.5853 GB, free: 20.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.3867, allocations: 68.23 kB / 0.5854 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002504/0.3892, allocations: 4.391 MB / 0.5896 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.3895, allocations: 12.53 kB / 0.5897 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.3895, allocations: 17.39 kB / 0.5897 GB, free: 15.95 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.0002535/0.3898, allocations: 179 kB / 0.5898 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.869e-05/0.3898, allocations: 40.17 kB / 0.5899 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.2e-05/0.3899, allocations: 41.19 kB / 0.5899 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.3899, allocations: 2.5 kB / 0.5899 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.529e-05/0.39, allocations: 5.688 kB / 0.5899 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.39, allocations: 0 / 0.5899 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004542/0.3904, allocations: 397.8 kB / 0.5903 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3904, allocations: 0 / 0.5903 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.3906, allocations: 38.98 kB / 0.5904 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003134/0.391, allocations: 99.23 kB / 0.5904 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.391, allocations: 9.031 kB / 0.5905 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002466/0.3935, allocations: 4.39 MB / 0.5947 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.3935, allocations: 5.219 kB / 0.5947 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007101/0.3942, allocations: 0.5562 MB / 0.5953 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.3943, allocations: 120.7 kB / 0.5954 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/0.3944, allocations: 5.281 kB / 0.5954 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.3946, allocations: 15.16 kB / 0.5954 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.3946, allocations: 19.23 kB / 0.5954 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.3946, allocations: 9.531 kB / 0.5955 GB, free: 10.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001906/0.3948, allocations: 206.2 kB / 0.5956 GB, free: 10.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3948, allocations: 0 / 0.5956 GB, free: 10.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005264/0.3954, allocations: 103.1 kB / 0.5957 GB, free: 10.17 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.0001557/0.3955, allocations: 111.5 kB / 0.5959 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009809/0.3965, allocations: 0.6171 MB / 0.5965 GB, free: 9.594 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3965, allocations: 4.25 kB / 0.5965 GB, free: 9.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004535/0.397, allocations: 480.6 kB / 0.5969 GB, free: 9.172 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005674/0.3976, allocations: 78.48 kB / 0.597 GB, free: 9.129 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.3988, allocations: 0.7174 MB / 0.5977 GB, free: 8.645 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.3991, allocations: 0.8301 MB / 0.5985 GB, free: 7.875 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001993/0.3993, allocations: 62.98 kB / 0.5986 GB, free: 7.844 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.593e-05/0.3994, allocations: 22.78 kB / 0.5986 GB, free: 7.836 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3994, allocations: 0 / 0.5986 GB, free: 7.836 MB / 446.1 MB Notification: Performance of Templates: time 0.007557/0.4069, allocations: 4.422 MB / 0.6029 GB, free: 4.625 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)