Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.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.TestMinMax,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestMinMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.TestMinMax,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestMinMax",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.9461/0.9461, allocations: 127.1 MB / 142 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.001065/0.001065, allocations: 105.8 kB / 169.3 MB, free: 11.79 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.001189/0.001189, allocations: 193.7 kB / 196.6 MB, free: 0.6094 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.736/1.736, allocations: 223.1 MB / 446.9 MB, free: 12.12 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1103/0.1103, allocations: 22.59 MB / 0.5342 GB, free: 0.8398 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.000497/0.0004968, allocations: 15.91 kB / 0.6274 GB, free: 80.65 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2006, allocations: 83.48 MB / 0.7089 GB, free: 4.703 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.002207/0.2029, allocations: 1.882 MB / 0.7107 GB, free: 2.801 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.000655/0.2036, allocations: 439.3 kB / 0.7112 GB, free: 2.367 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.131e-05/0.2036, allocations: 0 / 0.7112 GB, free: 2.367 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.137e-05/0.2037, allocations: 3.938 kB / 0.7112 GB, free: 2.363 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.349e-05/0.2038, allocations: 15.97 kB / 0.7112 GB, free: 2.348 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.204, allocations: 23.91 kB / 0.7112 GB, free: 2.324 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.2041, allocations: 51.92 kB / 0.7113 GB, free: 2.273 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.536e-05/0.2042, allocations: 15.98 kB / 0.7113 GB, free: 2.258 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.658e-05/0.2043, allocations: 31.86 kB / 0.7113 GB, free: 2.227 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.409e-05/0.2044, allocations: 39.88 kB / 0.7113 GB, free: 2.188 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.2044, allocations: 0 / 0.7113 GB, free: 2.188 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.72e-05/0.2044, allocations: 4 kB / 0.7113 GB, free: 2.184 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.243e-05/0.2044, allocations: 15.92 kB / 0.7114 GB, free: 2.168 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.2045, allocations: 33.64 kB / 0.7114 GB, free: 2.129 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 8.076e-05/0.2046, allocations: 52.12 kB / 0.7114 GB, free: 2.078 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2046, allocations: 4 kB / 0.7114 GB, free: 2.074 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.025e-06/0.2046, allocations: 3.938 kB / 0.7115 GB, free: 2.07 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.2046, allocations: 3.938 kB / 0.7115 GB, free: 2.066 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000564/0.2052, allocations: 407 kB / 0.7118 GB, free: 1.621 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.2052, allocations: 16.02 kB / 0.7119 GB, free: 1.605 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.185e-05/0.2052, allocations: 38.52 kB / 0.7119 GB, free: 1.559 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.2053, allocations: 7.906 kB / 0.7119 GB, free: 1.551 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.2054, allocations: 185.1 kB / 0.7121 GB, free: 1.332 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.2055, allocations: 4 kB / 0.7121 GB, free: 1.328 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.2055, allocations: 7.922 kB / 0.7121 GB, free: 1.32 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.2058, allocations: 113.6 kB / 0.7122 GB, free: 1.203 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.2058, allocations: 0 / 0.7122 GB, free: 1.203 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.2058, allocations: 0 / 0.7122 GB, free: 1.203 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.2058, allocations: 3.953 kB / 0.7122 GB, free: 1.199 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002736/0.2061, allocations: 95.92 kB / 0.7123 GB, free: 1.105 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003883/0.2065, allocations: 320.6 kB / 0.7126 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006102/0.2071, allocations: 198.4 kB / 0.7128 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.2071, allocations: 0 / 0.7128 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.2072, allocations: 38.72 kB / 0.7128 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 7.42e-07/0.2072, allocations: 4 kB / 0.7128 GB, free: 500 kB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006157/0.2078, allocations: 213.5 kB / 0.713 GB, free: 280 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.2078, allocations: 55.41 kB / 0.7131 GB, free: 212 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.973e-05/0.2079, allocations: 126.1 kB / 0.7132 GB, free: 72 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.2079, allocations: 29.7 kB / 0.7132 GB, free: 36 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.928e-05/0.208, allocations: 100 kB / 0.7133 GB, free: 15.93 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.2081, allocations: 15.75 kB / 0.7133 GB, free: 15.92 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.2081, allocations: 0 / 0.7133 GB, free: 15.92 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.2082, allocations: 322.8 kB / 0.7137 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.2084, allocations: 59.95 kB / 0.7137 GB, free: 15.54 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.2086, allocations: 59.95 kB / 0.7138 GB, free: 15.48 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.2088, allocations: 76.02 kB / 0.7138 GB, free: 15.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2089, allocations: 0 / 0.7138 GB, free: 15.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004352/0.2093, allocations: 169.5 kB / 0.714 GB, free: 15.23 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.2093, allocations: 7.938 kB / 0.714 GB, free: 15.22 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2093, allocations: 0 / 0.714 GB, free: 15.22 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.2094, allocations: 7.984 kB / 0.714 GB, free: 15.21 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.2095, allocations: 31.97 kB / 0.714 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.2095, allocations: 4 kB / 0.7141 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.2096, allocations: 23.91 kB / 0.7141 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.2097, allocations: 4 kB / 0.7141 GB, free: 15.15 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 0.0001116/0.2098, allocations: 117.8 kB / 0.7142 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.2098, allocations: 15.86 kB / 0.7142 GB, free: 15.01 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.003e-05/0.2099, allocations: 8.312 kB / 0.7142 GB, free: 15.01 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.2099, allocations: 0 / 0.7142 GB, free: 15.01 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2099, allocations: 0 / 0.7142 GB, free: 15.01 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2099, allocations: 7.984 kB / 0.7142 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.2101, allocations: 181.6 kB / 0.7144 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2101, allocations: 256 / 0.7144 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.2103, allocations: 31.97 kB / 0.7144 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.2103, allocations: 8 kB / 0.7144 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.2103, allocations: 7.938 kB / 0.7144 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2103, allocations: 0 / 0.7144 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2103, allocations: 0 / 0.7144 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007106/0.211, allocations: 319.3 kB / 0.7147 GB, free: 14.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.01e-05/0.2111, allocations: 85.02 kB / 0.7148 GB, free: 14.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.2111, allocations: 11.95 kB / 0.7148 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.2113, allocations: 24 kB / 0.7149 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.2113, allocations: 7.984 kB / 0.7149 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.2114, allocations: 0 / 0.7149 GB, free: 14.25 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.801e-05/0.2114, allocations: 101.1 kB / 0.715 GB, free: 14.16 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2114, allocations: 4 kB / 0.715 GB, free: 14.15 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002274/0.2117, allocations: 15.84 kB / 0.715 GB, free: 14.14 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (timeExtrema.ymax,timeExtrema.ymin) * 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 (5): * Single equations (assignments): 5 * 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.001006/0.2127, allocations: 0.8491 MB / 0.7158 GB, free: 13.26 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004303/0.2131, allocations: 139.8 kB / 0.7159 GB, free: 13.12 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2131, allocations: 0 / 0.7159 GB, free: 13.12 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.2134, allocations: 63.95 kB / 0.716 GB, free: 13.06 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.2136, allocations: 11.95 kB / 0.716 GB, free: 13.05 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.2151, allocations: 0.7592 MB / 0.7168 GB, free: 12.25 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.2155, allocations: 0.6965 MB / 0.7174 GB, free: 11.52 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 5.324e-05/0.2155, allocations: 8 kB / 0.7174 GB, free: 11.52 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.836e-05/0.2156, allocations: 19.48 kB / 0.7175 GB, free: 11.5 MB / 478.1 MB Notification: Performance of SimCode: time 5.72e-07/0.2156, allocations: 0 / 0.7175 GB, free: 11.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01426/0.2299, allocations: 1.727 MB / 0.7192 GB, free: 9.895 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002145/0.2301, allocations: 177.5 kB / 0.7193 GB, free: 9.652 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/2.01, allocations: 0 / 0.7193 GB, free: 9.652 MB / 478.1 MB (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestMinMax_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestMinMax.fmu > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax_res.mat does not exist to compare? outputFormat=mat