Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo", uses=false) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) Using package ClaRa with version 1.8.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo) Using package TILMedia with version 1.8.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/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) 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) Running command: translateModel(ClaRa.Basics.Media.CreateInterpolatedMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium") translateModel(ClaRa.Basics.Media.CreateInterpolatedMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001935/0.001935, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.6/1.6, allocations: 222.9 MB / 239.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009632/0.0009631, allocations: 102.5 kB / 289.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.08242/0.08242, allocations: 20.11 MB / 360.1 MB, free: 4.809 MB / 298.7 MB Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.9641/0.9641, allocations: 126.3 MB / 0.5296 GB, free: 14.96 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 75.89 kB / 0.6208 GB, free: 1.508 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3684, allocations: 81.17 MB / 0.7 GB, free: 33.49 MB / 474.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Media.CreateInterpolatedMedium): time 0.004179/0.3726, allocations: 3.443 MB / 0.7034 GB, free: 31.05 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005823/0.3785, allocations: 5.002 MB / 0.7083 GB, free: 27.48 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.3788, allocations: 4.219 kB / 0.7083 GB, free: 27.48 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.3798, allocations: 271.4 kB / 0.7085 GB, free: 27.36 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000376/0.3802, allocations: 196.3 kB / 0.7087 GB, free: 27.21 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008578/0.3811, allocations: 387.8 kB / 0.7091 GB, free: 26.94 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005502/0.3816, allocations: 0.7186 MB / 0.7098 GB, free: 26.55 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 8.125e-05/0.3817, allocations: 37.25 kB / 0.7098 GB, free: 26.53 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.3819, allocations: 184.7 kB / 0.71 GB, free: 26.44 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.3821, allocations: 204.2 kB / 0.7102 GB, free: 26.33 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.248e-05/0.3822, allocations: 13.47 kB / 0.7102 GB, free: 26.33 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004521/0.3826, allocations: 288.9 kB / 0.7105 GB, free: 26.18 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.349e-05/0.3827, allocations: 61.72 kB / 0.7106 GB, free: 26.14 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.3829, allocations: 166.9 kB / 0.7107 GB, free: 26.03 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0006053/0.3835, allocations: 0.6001 MB / 0.7113 GB, free: 25.66 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3835, allocations: 0 / 0.7113 GB, free: 25.66 MB / 474.8 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3835, allocations: 1.375 kB / 0.7113 GB, free: 25.66 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.3835, allocations: 0 / 0.7113 GB, free: 25.66 MB / 474.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0006459/0.3842, allocations: 0.6573 MB / 0.7119 GB, free: 25.06 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.3842, allocations: 9.719 kB / 0.7119 GB, free: 25.06 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002335/0.3844, allocations: 59.39 kB / 0.712 GB, free: 25.02 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.3848, allocations: 298.4 kB / 0.7123 GB, free: 24.73 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.3848, allocations: 12.62 kB / 0.7123 GB, free: 24.73 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.439e-05/0.3848, allocations: 20.34 kB / 0.7123 GB, free: 24.72 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004394/0.3853, allocations: 414.4 kB / 0.7127 GB, free: 24.33 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.3853, allocations: 6.688 kB / 0.7127 GB, free: 24.32 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.3853, allocations: 12.41 kB / 0.7127 GB, free: 24.32 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.3854, allocations: 7.688 kB / 0.7127 GB, free: 24.32 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002546/0.3856, allocations: 198.4 kB / 0.7129 GB, free: 24.21 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.3869, allocations: 3.061 MB / 0.7159 GB, free: 21.19 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.387, allocations: 155 kB / 0.7161 GB, free: 21.04 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.3871, allocations: 105.4 kB / 0.7162 GB, free: 20.95 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.17e-05/0.3872, allocations: 16.78 kB / 0.7162 GB, free: 20.94 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.3872, allocations: 44.12 kB / 0.7162 GB, free: 20.89 MB / 474.8 MB Notification: Performance of pre-optimization done (n=56): time 1.543e-06/0.3872, allocations: 0 / 0.7162 GB, free: 20.89 MB / 474.8 MB Notification: Performance of matching and sorting (n=56): time 0.0005448/0.3878, allocations: 320.3 kB / 0.7165 GB, free: 20.73 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.3879, allocations: 131.5 kB / 0.7167 GB, free: 20.57 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000309/0.3882, allocations: 337.1 kB / 0.717 GB, free: 20.34 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.3882, allocations: 27.11 kB / 0.717 GB, free: 20.31 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.75e-05/0.3883, allocations: 208.8 kB / 0.7172 GB, free: 20.12 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.088e-05/0.3884, allocations: 193.7 kB / 0.7174 GB, free: 19.95 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.3885, allocations: 107.1 kB / 0.7175 GB, free: 19.88 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 6.447e-05/0.3886, allocations: 347.9 kB / 0.7178 GB, free: 19.54 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.3887, allocations: 87.91 kB / 0.7179 GB, free: 19.5 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002774/0.389, allocations: 365.2 kB / 0.7183 GB, free: 19.09 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004373/0.3894, allocations: 0.5102 MB / 0.7188 GB, free: 18.61 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.3894, allocations: 9 kB / 0.7188 GB, free: 18.6 MB / 474.8 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0006356/0.3901, allocations: 476.7 kB / 0.7192 GB, free: 18.36 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.3901, allocations: 13.09 kB / 0.7192 GB, free: 18.36 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-05/0.3902, allocations: 30.22 kB / 0.7193 GB, free: 18.35 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.3902, allocations: 12.34 kB / 0.7193 GB, free: 18.35 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.3904, allocations: 72.38 kB / 0.7193 GB, free: 18.33 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/0.3904, allocations: 15.34 kB / 0.7194 GB, free: 18.33 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.3906, allocations: 60.03 kB / 0.7194 GB, free: 18.29 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.361e-05/0.3907, allocations: 31.95 kB / 0.7194 GB, free: 18.28 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (42): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001424/0.3908, allocations: 177.1 kB / 0.7196 GB, free: 18.12 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.3909, allocations: 36 kB / 0.7196 GB, free: 18.1 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007524/0.3917, allocations: 0.7687 MB / 0.7204 GB, free: 17.27 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.615e-05/0.3917, allocations: 185.5 kB / 0.7206 GB, free: 17.09 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.331e-05/0.3918, allocations: 185.6 kB / 0.7207 GB, free: 16.9 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.621e-05/0.3918, allocations: 176.3 kB / 0.7209 GB, free: 16.72 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/0.3921, allocations: 0.5396 MB / 0.7214 GB, free: 16.17 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.527e-05/0.3921, allocations: 108.1 kB / 0.7215 GB, free: 16.06 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.29e-05/0.3922, allocations: 114.4 kB / 0.7217 GB, free: 15.95 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.927e-05/0.3922, allocations: 176.3 kB / 0.7218 GB, free: 15.77 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/0.3922, allocations: 181.1 kB / 0.722 GB, free: 15.59 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-05/0.3923, allocations: 181.8 kB / 0.7222 GB, free: 15.4 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.341e-05/0.3923, allocations: 177.1 kB / 0.7223 GB, free: 15.22 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.3927, allocations: 0.9587 MB / 0.7233 GB, free: 14.25 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.859e-05/0.3927, allocations: 202 kB / 0.7235 GB, free: 14.04 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.154e-05/0.3928, allocations: 205.7 kB / 0.7237 GB, free: 13.84 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.393, allocations: 107.7 kB / 0.7238 GB, free: 13.73 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.393, allocations: 185.7 kB / 0.7239 GB, free: 13.54 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.3931, allocations: 104.9 kB / 0.724 GB, free: 13.43 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.0004016/0.3935, allocations: 366.4 kB / 0.7244 GB, free: 13.21 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3935, allocations: 2 kB / 0.7244 GB, free: 13.21 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0006889/0.3942, allocations: 135.6 kB / 0.7245 GB, free: 13.18 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006902/0.3949, allocations: 444.2 kB / 0.7249 GB, free: 12.92 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.000403/0.3953, allocations: 456.4 kB / 0.7254 GB, free: 12.55 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3953, allocations: 0 / 0.7254 GB, free: 12.55 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 2.154e-06/0.3953, allocations: 2.062 kB / 0.7254 GB, free: 12.55 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006632/0.396, allocations: 0.5955 MB / 0.726 GB, free: 12 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008143/0.3968, allocations: 0.7009 MB / 0.7267 GB, free: 11.47 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/0.397, allocations: 0.7771 MB / 0.7274 GB, free: 10.73 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.0001902/0.3972, allocations: 74.92 kB / 0.7275 GB, free: 10.69 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.483e-05/0.3973, allocations: 31.52 kB / 0.7275 GB, free: 10.68 MB / 474.8 MB Notification: Performance of SimCode: time 2.3e-07/0.3973, allocations: 3.938 kB / 0.7275 GB, free: 10.68 MB / 474.8 MB Notification: Performance of Templates: time 0.008097/0.4054, allocations: 4.94 MB / 0.7323 GB, free: 7.977 MB / 474.8 MB make -j1 -f ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.makefile (rm -f ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.pipe >> ../files/ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.sim & ./ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.pipe 2>&1)