Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.conf.json loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/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/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/TILMedia 1.8.1-main/package.mo", uses=false) Using package TILMedia with version 1.8.1 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/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) Using package ClaRa with version 1.8.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_testGradientLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_testGradientLimiter",fmuType="me",version="2.0",platforms={"static"}) [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Components/Sensors/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: TinySensorGas_L1_O2dry [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/Fundamentals/PressureLoss/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: ShellType_L2 ShellType_L3 TubeType_L3 TubeType_L2 [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/Fundamentals/HeatTransport/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: ShellType_L2 ShellType_L3 TubeType_L3 TubeType_L2 [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/FluidVolumes/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: VolumeVLE_2 VolumeVLE_3_TwoZones Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.8786/0.8786, allocations: 127.1 MB / 142.1 MB, free: 10.61 MB / 126.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008405/0.0008402, allocations: 92.48 kB / 169.3 MB, free: 11.78 MB / 142.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 187.7 kB / 196.7 MB, free: 0.5938 MB / 158.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.613/1.613, allocations: 223.2 MB / 447.1 MB, free: 11.98 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1011/0.1011, allocations: 22.59 MB / 0.5344 GB, free: 0.6602 MB / 398.1 MB Warning: Requested package TILMedia of version 1.8.0 ClaRa, but this package was already loaded with version 1.8.1 ClaRa. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0006773/0.0006774, allocations: 14.66 kB / 0.6275 GB, free: 80.67 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2102, allocations: 83.49 MB / 0.7091 GB, free: 4.645 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter): time 0.00208/0.2123, allocations: 1.86 MB / 0.7109 GB, free: 2.766 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.2134, allocations: 0.6355 MB / 0.7115 GB, free: 2.125 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.855e-05/0.2135, allocations: 0 / 0.7115 GB, free: 2.125 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.2136, allocations: 3.938 kB / 0.7115 GB, free: 2.121 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.356e-05/0.2137, allocations: 15.88 kB / 0.7115 GB, free: 2.105 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004553/0.2142, allocations: 95.48 kB / 0.7116 GB, free: 2.016 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.2143, allocations: 79.7 kB / 0.7117 GB, free: 1.938 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.2144, allocations: 25.09 kB / 0.7117 GB, free: 1.91 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.407e-05/0.2145, allocations: 27.86 kB / 0.7117 GB, free: 1.883 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.771e-05/0.2146, allocations: 35.84 kB / 0.7118 GB, free: 1.848 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.2146, allocations: 4 kB / 0.7118 GB, free: 1.844 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.424e-05/0.2146, allocations: 4 kB / 0.7118 GB, free: 1.84 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.2147, allocations: 19.86 kB / 0.7118 GB, free: 1.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.2147, allocations: 37.64 kB / 0.7118 GB, free: 1.777 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 8.275e-05/0.2148, allocations: 56.09 kB / 0.7119 GB, free: 1.723 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2148, allocations: 0 / 0.7119 GB, free: 1.723 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2148, allocations: 0 / 0.7119 GB, free: 1.723 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.2148, allocations: 0 / 0.7119 GB, free: 1.723 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005645/0.2154, allocations: 430.9 kB / 0.7123 GB, free: 1.254 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.2154, allocations: 12.02 kB / 0.7123 GB, free: 1.242 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.929e-05/0.2155, allocations: 46.48 kB / 0.7124 GB, free: 1.188 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.506e-05/0.2155, allocations: 11.91 kB / 0.7124 GB, free: 1.176 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.2157, allocations: 189.1 kB / 0.7126 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.2157, allocations: 8 kB / 0.7126 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.417e-05/0.2158, allocations: 7.938 kB / 0.7126 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.2161, allocations: 121.6 kB / 0.7127 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.2161, allocations: 0 / 0.7127 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.2161, allocations: 3.953 kB / 0.7127 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2161, allocations: 4 kB / 0.7127 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003428/0.2165, allocations: 131.8 kB / 0.7128 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005774/0.2171, allocations: 380.6 kB / 0.7132 GB, free: 260 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.2173, allocations: 86.47 kB / 0.7133 GB, free: 164 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.2175, allocations: 80.92 kB / 0.7133 GB, free: 80 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.2175, allocations: 0 / 0.7133 GB, free: 80 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/0.2175, allocations: 30.56 kB / 0.7134 GB, free: 40 kB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 8.02e-07/0.2175, allocations: 0 / 0.7134 GB, free: 40 kB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007053/0.2182, allocations: 237.5 kB / 0.7136 GB, free: 15.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.2183, allocations: 55.34 kB / 0.7137 GB, free: 15.73 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.2184, allocations: 146.4 kB / 0.7138 GB, free: 15.58 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.2185, allocations: 29.7 kB / 0.7138 GB, free: 15.54 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.545e-05/0.2186, allocations: 104.2 kB / 0.7139 GB, free: 15.44 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.2186, allocations: 19.66 kB / 0.7139 GB, free: 15.42 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.478e-06/0.2186, allocations: 4 kB / 0.7139 GB, free: 15.41 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.2188, allocations: 322.8 kB / 0.7142 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.2191, allocations: 71.94 kB / 0.7143 GB, free: 15.02 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.2193, allocations: 63.94 kB / 0.7144 GB, free: 14.96 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.2195, allocations: 72.09 kB / 0.7144 GB, free: 14.89 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2195, allocations: 0 / 0.7144 GB, free: 14.89 MB / 478.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004163/0.22, allocations: 173.5 kB / 0.7146 GB, free: 14.71 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.22, allocations: 4 kB / 0.7146 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.22, allocations: 3.984 kB / 0.7146 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.22, allocations: 0 / 0.7146 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.2202, allocations: 39.91 kB / 0.7147 GB, free: 14.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.2202, allocations: 4 kB / 0.7147 GB, free: 14.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.2203, allocations: 31.91 kB / 0.7147 GB, free: 14.63 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.2203, allocations: 4 kB / 0.7147 GB, free: 14.62 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.625e-05/0.2205, allocations: 118.5 kB / 0.7148 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.2205, allocations: 11.81 kB / 0.7148 GB, free: 14.49 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.166e-05/0.2205, allocations: 16.66 kB / 0.7148 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2205, allocations: 0 / 0.7148 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.2205, allocations: 256 / 0.7148 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2206, allocations: 0 / 0.7148 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.2208, allocations: 209.6 kB / 0.715 GB, free: 14.22 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2208, allocations: 0 / 0.715 GB, free: 14.22 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.221, allocations: 35.97 kB / 0.7151 GB, free: 14.19 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.221, allocations: 0 / 0.7151 GB, free: 14.19 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.221, allocations: 4 kB / 0.7151 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.221, allocations: 0 / 0.7151 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.221, allocations: 0 / 0.7151 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006829/0.2217, allocations: 351.2 kB / 0.7154 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/0.2217, allocations: 93.06 kB / 0.7155 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.2218, allocations: 0 / 0.7155 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.2219, allocations: 23.97 kB / 0.7155 GB, free: 13.69 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.222, allocations: 11.98 kB / 0.7155 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.222, allocations: 0 / 0.7155 GB, free: 13.68 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.752e-05/0.2221, allocations: 103.8 kB / 0.7156 GB, free: 13.58 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2221, allocations: 4 kB / 0.7156 GB, free: 13.57 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002464/0.2223, allocations: 19.94 kB / 0.7157 GB, free: 13.55 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (variableGradientLimiter.y_aux) * 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 (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001044/0.2234, allocations: 0.884 MB / 0.7165 GB, free: 12.64 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004157/0.2238, allocations: 140 kB / 0.7167 GB, free: 12.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2238, allocations: 0 / 0.7167 GB, free: 12.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.224, allocations: 71.89 kB / 0.7167 GB, free: 12.43 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.2244, allocations: 15.98 kB / 0.7167 GB, free: 12.42 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.2262, allocations: 0.8145 MB / 0.7175 GB, free: 11.56 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.2265, allocations: 0.6965 MB / 0.7182 GB, free: 10.84 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 6.035e-05/0.2266, allocations: 12.17 kB / 0.7182 GB, free: 10.82 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.421e-05/0.2267, allocations: 23.44 kB / 0.7182 GB, free: 10.8 MB / 478.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2267, allocations: 0 / 0.7182 GB, free: 10.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01543/0.2421, allocations: 2.037 MB / 0.7202 GB, free: 8.93 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003077/0.2425, allocations: 203.7 kB / 0.7204 GB, free: 8.68 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.065, allocations: 0 / 0.7204 GB, free: 8.68 MB / 478.1 MB (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_testGradientLimiter_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_testGradientLimiter.fmu > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_res.mat does not exist to compare? outputFormat=mat