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.0008919/0.0008918, allocations: 93.73 kB / 16.02 MB, free: 84 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.001193/0.001193, allocations: 183.5 kB / 16.92 MB, free: 6.934 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.418/1.418, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7428/0.7428, allocations: 123 MB / 415.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003273/0.0003274, allocations: 8.625 kB / 0.4933 GB, free: 13.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4631/0.4635, allocations: 79.29 MB / 0.5707 GB, free: 9.895 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.005623/0.4692, allocations: 3.987 MB / 0.5746 GB, free: 8.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003787/0.473, allocations: 1.833 MB / 0.5764 GB, free: 6.887 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005892/0.4736, allocations: 10.25 kB / 0.5764 GB, free: 6.883 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004593/0.4741, allocations: 67.14 kB / 0.5765 GB, free: 6.848 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.4754, allocations: 246.5 kB / 0.5767 GB, free: 6.711 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009261/0.4763, allocations: 237.9 kB / 0.577 GB, free: 6.586 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001339/0.4777, allocations: 0.8318 MB / 0.5778 GB, free: 6.297 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008208/0.4785, allocations: 443.7 kB / 0.5782 GB, free: 6.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006993/0.4792, allocations: 196.7 kB / 0.5784 GB, free: 5.941 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000904/0.4801, allocations: 250.2 kB / 0.5786 GB, free: 5.852 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.4802, allocations: 19.28 kB / 0.5786 GB, free: 5.852 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008833/0.4811, allocations: 315.9 kB / 0.5789 GB, free: 5.738 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002773/0.4814, allocations: 131.3 kB / 0.5791 GB, free: 5.691 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000416/0.4818, allocations: 224.5 kB / 0.5793 GB, free: 5.551 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.483, allocations: 0.5929 MB / 0.5799 GB, free: 5.379 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.483, allocations: 0.5938 kB / 0.5799 GB, free: 5.379 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.483, allocations: 0 / 0.5799 GB, free: 5.379 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.483, allocations: 0 / 0.5799 GB, free: 5.379 MB / 430.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.001141/0.4842, allocations: 0.66 MB / 0.5805 GB, free: 4.855 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.4842, allocations: 14.03 kB / 0.5805 GB, free: 4.852 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.4853, allocations: 155.6 kB / 0.5807 GB, free: 4.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004655/0.4858, allocations: 325.3 kB / 0.581 GB, free: 4.551 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.397e-05/0.4858, allocations: 22.94 kB / 0.581 GB, free: 4.539 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.602e-05/0.4859, allocations: 38.45 kB / 0.581 GB, free: 4.523 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009312/0.4869, allocations: 0.5428 MB / 0.5816 GB, free: 4.246 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.4869, allocations: 4.781 kB / 0.5816 GB, free: 4.242 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.634e-05/0.4869, allocations: 13.28 kB / 0.5816 GB, free: 4.234 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.91e-05/0.487, allocations: 32.14 kB / 0.5816 GB, free: 4.227 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006392/0.4876, allocations: 387.7 kB / 0.582 GB, free: 4.098 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002329/0.49, allocations: 2.412 MB / 0.5843 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005359/0.4905, allocations: 259.7 kB / 0.5846 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.4907, allocations: 116 kB / 0.5847 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.4908, allocations: 2.094 kB / 0.5847 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.4908, allocations: 40.91 kB / 0.5847 GB, free: 1.836 MB / 430.1 MB Notification: Performance of pre-optimization done (n=20): time 2.084e-06/0.4908, allocations: 0 / 0.5847 GB, free: 1.836 MB / 430.1 MB Notification: Performance of matching and sorting (n=23): time 0.002383/0.4932, allocations: 1.129 MB / 0.5858 GB, free: 1.086 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.4932, allocations: 58.28 kB / 0.5859 GB, free: 1.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004023/0.4936, allocations: 302.2 kB / 0.5862 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.4937, allocations: 31.17 kB / 0.5862 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.4938, allocations: 231.6 kB / 0.5864 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.869e-05/0.4939, allocations: 80.38 kB / 0.5865 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.161e-05/0.494, allocations: 34.97 kB / 0.5865 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.05e-05/0.4941, allocations: 339.1 kB / 0.5869 GB, free: 212 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.4943, allocations: 104 kB / 0.587 GB, free: 172 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.4945, allocations: 191.3 kB / 0.5872 GB, free: 24 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005278/0.495, allocations: 321.4 kB / 0.5875 GB, free: 15.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.495, allocations: 0.5 kB / 0.5875 GB, free: 15.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008297/0.4959, allocations: 446.9 kB / 0.5879 GB, free: 15.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.4959, allocations: 8.375 kB / 0.5879 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.4959, allocations: 2.531 kB / 0.5879 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003894/0.4963, allocations: 100.5 kB / 0.588 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002956/0.4966, allocations: 61.61 kB / 0.5881 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003143/0.4998, allocations: 4.072 MB / 0.592 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.5001, allocations: 9.078 kB / 0.592 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.5001, allocations: 14.41 kB / 0.5921 GB, free: 11.53 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.0002996/0.5004, allocations: 187.9 kB / 0.5922 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.029e-05/0.5005, allocations: 27.56 kB / 0.5923 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.156e-05/0.5006, allocations: 38.73 kB / 0.5923 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.5006, allocations: 2.125 kB / 0.5923 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.5006, allocations: 1.625 kB / 0.5923 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.5006, allocations: 1.938 kB / 0.5923 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006132/0.5012, allocations: 405.1 kB / 0.5927 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5013, allocations: 96 / 0.5927 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/0.5015, allocations: 36.64 kB / 0.5927 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003375/0.5018, allocations: 100.3 kB / 0.5928 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.5019, allocations: 5.641 kB / 0.5928 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003591/0.5055, allocations: 4.079 MB / 0.5968 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5055, allocations: 0.5 kB / 0.5968 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.5067, allocations: 0.5529 MB / 0.5973 GB, free: 6.664 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002243/0.5069, allocations: 126.8 kB / 0.5975 GB, free: 6.543 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.347e-05/0.507, allocations: 7.641 kB / 0.5975 GB, free: 6.539 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.5072, allocations: 11.44 kB / 0.5975 GB, free: 6.535 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.136e-05/0.5073, allocations: 26.97 kB / 0.5975 GB, free: 6.523 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.5073, allocations: 4.891 kB / 0.5975 GB, free: 6.523 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003449/0.5077, allocations: 217.3 kB / 0.5977 GB, free: 6.402 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5077, allocations: 0 / 0.5977 GB, free: 6.402 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007052/0.5084, allocations: 94.78 kB / 0.5978 GB, free: 6.395 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.0001843/0.5086, allocations: 109.5 kB / 0.5979 GB, free: 6.297 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00112/0.5097, allocations: 0.6013 MB / 0.5985 GB, free: 5.871 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.5098, allocations: 1.781 kB / 0.5985 GB, free: 5.871 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005765/0.5103, allocations: 476.2 kB / 0.599 GB, free: 5.484 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006187/0.511, allocations: 70.42 kB / 0.599 GB, free: 5.457 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.5129, allocations: 0.9053 MB / 0.5999 GB, free: 4.875 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007059/0.5136, allocations: 0.8311 MB / 0.6007 GB, free: 4.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003378/0.514, allocations: 62.59 kB / 0.6008 GB, free: 4.145 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.994e-05/0.5141, allocations: 22.44 kB / 0.6008 GB, free: 4.137 MB / 446.1 MB Notification: Performance of SimCode: time 1.252e-06/0.5141, allocations: 1.062 kB / 0.6008 GB, free: 4.137 MB / 446.1 MB Notification: Performance of Templates: time 0.01212/0.5262, allocations: 4.225 MB / 0.6049 GB, free: 2.859 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)