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.9467/0.9467, allocations: 127.1 MB / 142.1 MB, free: 14.72 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.0009232/0.0009232, allocations: 92.33 kB / 169.3 MB, free: 3.504 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.001133/0.001133, allocations: 185.5 kB / 196.6 MB, free: 10.93 MB / 142.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.681/1.681, allocations: 223.1 MB / 446.9 MB, free: 11.5 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1028/0.1028, allocations: 22.57 MB / 0.5343 GB, free: 0.582 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.0004595/0.0004595, allocations: 13.12 kB / 0.6274 GB, free: 80.93 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2024, allocations: 83.49 MB / 0.7089 GB, free: 4.777 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter): time 0.002097/0.2046, allocations: 1.86 MB / 0.7107 GB, free: 2.902 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009494/0.2056, allocations: 0.6277 MB / 0.7114 GB, free: 2.27 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.578e-05/0.2056, allocations: 0 / 0.7114 GB, free: 2.27 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 1.218e-05/0.2056, allocations: 7.938 kB / 0.7114 GB, free: 2.262 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 9.403e-05/0.2057, allocations: 19.89 kB / 0.7114 GB, free: 2.242 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.206, allocations: 87.7 kB / 0.7115 GB, free: 2.156 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.2061, allocations: 51.88 kB / 0.7115 GB, free: 2.105 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.2063, allocations: 29.09 kB / 0.7115 GB, free: 2.074 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.687e-05/0.2063, allocations: 27.86 kB / 0.7116 GB, free: 2.047 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.014e-05/0.2064, allocations: 39.77 kB / 0.7116 GB, free: 2.008 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.2064, allocations: 4 kB / 0.7116 GB, free: 2.004 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.394e-05/0.2064, allocations: 4 kB / 0.7116 GB, free: 2 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.077e-05/0.2064, allocations: 15.92 kB / 0.7116 GB, free: 1.984 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.636e-05/0.2065, allocations: 37.64 kB / 0.7117 GB, free: 1.941 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 9.228e-05/0.2066, allocations: 60.11 kB / 0.7117 GB, free: 1.883 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2066, allocations: 0 / 0.7117 GB, free: 1.883 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2066, allocations: 3.938 kB / 0.7117 GB, free: 1.879 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.2066, allocations: 4 kB / 0.7117 GB, free: 1.875 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.0005843/0.2072, allocations: 434.8 kB / 0.7121 GB, free: 1.402 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/0.2073, allocations: 8.031 kB / 0.7122 GB, free: 1.395 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.642e-05/0.2073, allocations: 34.56 kB / 0.7122 GB, free: 1.352 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.931e-05/0.2073, allocations: 7.906 kB / 0.7122 GB, free: 1.344 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.2075, allocations: 187.5 kB / 0.7124 GB, free: 1.121 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.2075, allocations: 8 kB / 0.7124 GB, free: 1.113 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.2076, allocations: 4 kB / 0.7124 GB, free: 1.109 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.2079, allocations: 121.6 kB / 0.7125 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.2079, allocations: 7.891 kB / 0.7125 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.2079, allocations: 4 kB / 0.7125 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.2079, allocations: 4 kB / 0.7125 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003667/0.2083, allocations: 131.9 kB / 0.7126 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005541/0.2089, allocations: 384.5 kB / 0.713 GB, free: 424 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.2091, allocations: 90.52 kB / 0.7131 GB, free: 324 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.2092, allocations: 7.984 kB / 0.7131 GB, free: 316 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.2092, allocations: 30.56 kB / 0.7131 GB, free: 276 kB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.2092, allocations: 0 / 0.7131 GB, free: 276 kB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006727/0.2099, allocations: 237.5 kB / 0.7134 GB, free: 32 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.2099, allocations: 51.41 kB / 0.7134 GB, free: 15.97 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.2101, allocations: 146.5 kB / 0.7135 GB, free: 15.81 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.2101, allocations: 29.7 kB / 0.7136 GB, free: 15.78 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.564e-05/0.2102, allocations: 108.2 kB / 0.7137 GB, free: 15.67 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.2102, allocations: 19.66 kB / 0.7137 GB, free: 15.65 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.2102, allocations: 0 / 0.7137 GB, free: 15.65 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.2104, allocations: 326.8 kB / 0.714 GB, free: 15.32 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.2106, allocations: 63.95 kB / 0.7141 GB, free: 15.26 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.2108, allocations: 67.94 kB / 0.7141 GB, free: 15.19 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.211, allocations: 63.95 kB / 0.7142 GB, free: 15.13 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.211, allocations: 0 / 0.7142 GB, free: 15.13 MB / 478.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004413/0.2114, allocations: 173.5 kB / 0.7144 GB, free: 14.95 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.2115, allocations: 5.406 kB / 0.7144 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2115, allocations: 0 / 0.7144 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.2115, allocations: 4 kB / 0.7144 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.2117, allocations: 39.91 kB / 0.7144 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2117, allocations: 0 / 0.7144 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.2118, allocations: 27.97 kB / 0.7144 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.2118, allocations: 4 kB / 0.7144 GB, free: 14.88 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.772e-05/0.2119, allocations: 125.7 kB / 0.7146 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.212, allocations: 11.81 kB / 0.7146 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.812e-05/0.212, allocations: 12.97 kB / 0.7146 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.212, allocations: 0 / 0.7146 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.212, allocations: 8 kB / 0.7146 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.212, allocations: 0 / 0.7146 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.2123, allocations: 209.5 kB / 0.7148 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2123, allocations: 0 / 0.7148 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.2124, allocations: 31.97 kB / 0.7148 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2124, allocations: 7.938 kB / 0.7148 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.2125, allocations: 0 / 0.7148 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2125, allocations: 0 / 0.7148 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.2125, allocations: 3.938 kB / 0.7148 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007234/0.2132, allocations: 347.3 kB / 0.7152 GB, free: 14.06 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/0.2133, allocations: 84.97 kB / 0.7152 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.2133, allocations: 4.031 kB / 0.7152 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.2134, allocations: 28.03 kB / 0.7153 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.2135, allocations: 7.984 kB / 0.7153 GB, free: 13.92 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.2135, allocations: 4 kB / 0.7153 GB, free: 13.91 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.842e-05/0.2136, allocations: 103.8 kB / 0.7154 GB, free: 13.81 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2136, allocations: 0 / 0.7154 GB, free: 13.81 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002252/0.2138, allocations: 19.94 kB / 0.7154 GB, free: 13.79 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.001026/0.2149, allocations: 0.8801 MB / 0.7163 GB, free: 12.88 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004624/0.2153, allocations: 140 kB / 0.7164 GB, free: 12.75 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2153, allocations: 0 / 0.7164 GB, free: 12.75 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.2156, allocations: 71.89 kB / 0.7165 GB, free: 12.68 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.2158, allocations: 11.98 kB / 0.7165 GB, free: 12.66 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.2176, allocations: 0.8029 MB / 0.7173 GB, free: 11.82 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.2179, allocations: 0.7121 MB / 0.718 GB, free: 11.08 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 4.834e-05/0.2179, allocations: 4.188 kB / 0.718 GB, free: 11.07 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.218, allocations: 31.42 kB / 0.718 GB, free: 11.04 MB / 478.1 MB Notification: Performance of SimCode: time 2.686e-06/0.218, allocations: 0 / 0.718 GB, free: 11.04 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01273/0.2307, allocations: 2.019 MB / 0.72 GB, free: 9.18 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002601/0.231, allocations: 191.5 kB / 0.7201 GB, free: 8.934 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/2.047, allocations: 8.938 kB / 0.7201 GB, free: 8.926 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