Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort.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: "" <> buildModelFMU(ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort,fileNamePrefix="ClaRa_dev_ClaRa_Components_Adapters_Check_TestScalar2VectorHeatPort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort,fileNamePrefix="ClaRa_dev_ClaRa_Components_Adapters_Check_TestScalar2VectorHeatPort",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01371/0.01371, allocations: 171.4 kB / 15.11 MB, free: 5.973 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.564/1.564, allocations: 223.2 MB / 239 MB, free: 1.773 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 110.4 kB / 290.2 MB, free: 13.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.09832/0.09832, allocations: 20.32 MB / 361.6 MB, free: 6.633 MB / 298.7 MB [/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: TubeType_L2 TubeType_L3 ShellType_L2 ShellType_L3 [/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: TubeType_L2 TubeType_L3 ShellType_L2 ShellType_L3 [/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 1.306/1.306, allocations: 127.1 MB / 0.533 GB, free: 16.9 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0005309/0.0005311, allocations: 11.98 kB / 0.6255 GB, free: 10.98 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2547, allocations: 82.87 MB / 0.7065 GB, free: 8.316 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7061/0.9609, allocations: 130.2 MB / 0.8337 GB, free: 10.96 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003841/0.9613, allocations: 90.5 kB / 0.8337 GB, free: 10.91 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.1993/1.161, allocations: 59.59 MB / 0.8919 GB, free: 0.6328 MB / 0.5887 GB Notification: Performance of FrontEnd: time 2.264e-06/1.161, allocations: 0 / 0.8919 GB, free: 0.6328 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.0002424/1.161, allocations: 59.94 kB / 0.892 GB, free: 0.5742 MB / 0.5887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 687 * Number of variables: 687 Notification: Performance of Generate backend data structure: time 0.01568/1.177, allocations: 3.188 MB / 0.8951 GB, free: 13.32 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 7.04e-05/1.177, allocations: 8.031 kB / 0.8951 GB, free: 13.31 MB / 0.6043 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00245/1.179, allocations: 376.9 kB / 0.8955 GB, free: 12.94 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002481/1.182, allocations: 324 kB / 0.8958 GB, free: 12.62 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007588/1.189, allocations: 1.654 MB / 0.8974 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004869/1.19, allocations: 208.3 kB / 0.8976 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001718/1.192, allocations: 224 kB / 0.8978 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01526/1.207, allocations: 4.379 MB / 0.9021 GB, free: 5.676 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001996/1.207, allocations: 27.72 kB / 0.9021 GB, free: 5.648 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001026/1.208, allocations: 99.97 kB / 0.9022 GB, free: 5.551 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004443/1.209, allocations: 285.8 kB / 0.9025 GB, free: 5.273 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01109/1.22, allocations: 3.722 MB / 0.9061 GB, free: 1.551 MB / 0.6043 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0354/1.255, allocations: 18.89 MB / 0.9246 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00551/1.261, allocations: 1.879 MB / 0.9264 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002558/1.261, allocations: 28.72 kB / 0.9264 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.361e-05/1.261, allocations: 50.25 kB / 0.9265 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=136): time 4.929e-06/1.261, allocations: 0.8438 kB / 0.9265 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of matching and sorting (n=136): time 0.0226/1.284, allocations: 4.715 MB / 0.9311 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000185/1.284, allocations: 288.7 kB / 0.9314 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004916/1.289, allocations: 1.936 MB / 0.9333 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0006769/1.29, allocations: 53.7 kB / 0.9333 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001408/1.291, allocations: 1.248 MB / 0.9345 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001232/1.292, allocations: 0.5008 MB / 0.935 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006198/1.293, allocations: 51.94 kB / 0.9351 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0003289/1.293, allocations: 402.9 kB / 0.9354 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003882/1.297, allocations: 1.247 MB / 0.9367 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004573/1.302, allocations: 2.244 MB / 0.9389 GB, free: 14.43 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004214/1.306, allocations: 1.568 MB / 0.9404 GB, free: 12.87 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.454e-05/1.306, allocations: 8 kB / 0.9404 GB, free: 12.86 MB / 0.6512 GB Notification: Performance of matching and sorting (n=313) (initialization): time 0.01978/1.326, allocations: 4.649 MB / 0.9449 GB, free: 8.195 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-05/1.326, allocations: 24.25 kB / 0.945 GB, free: 8.172 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.586e-05/1.326, allocations: 35.98 kB / 0.945 GB, free: 8.137 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00802/1.334, allocations: 1.159 MB / 0.9461 GB, free: 6.965 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004016/1.338, allocations: 0.6747 MB / 0.9468 GB, free: 6.289 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02677/1.365, allocations: 11.53 MB / 0.958 GB, free: 10.21 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005515/1.371, allocations: 444.7 kB / 0.9585 GB, free: 9.77 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00145/1.372, allocations: 135.9 kB / 0.9586 GB, free: 9.637 MB / 0.6668 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * 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 (278): * Single equations (assignments): 274 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 6} * Non-linear torn systems: 1 {5 15} Notification: Performance of prepare postOptimizeDAE: time 0.004794/1.377, allocations: 0.9105 MB / 0.9595 GB, free: 8.715 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001326/1.378, allocations: 221.3 kB / 0.9597 GB, free: 8.496 MB / 0.6668 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00924/1.388, allocations: 2.978 MB / 0.9626 GB, free: 5.5 MB / 0.6668 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/1.388, allocations: 12 kB / 0.9626 GB, free: 5.488 MB / 0.6668 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.109e-05/1.388, allocations: 8 kB / 0.9626 GB, free: 5.48 MB / 0.6668 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.059e-05/1.388, allocations: 7.969 kB / 0.9626 GB, free: 5.473 MB / 0.6668 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005054/1.393, allocations: 2.248 MB / 0.9648 GB, free: 3.172 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/1.393, allocations: 0 / 0.9648 GB, free: 3.172 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003187/1.396, allocations: 0.5031 MB / 0.9653 GB, free: 2.668 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002437/1.399, allocations: 0.5658 MB / 0.9659 GB, free: 2.09 MB / 0.6668 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002883/1.399, allocations: 51.92 kB / 0.9659 GB, free: 2.039 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009667/1.409, allocations: 8.12 MB / 0.9738 GB, free: 9.383 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.409, allocations: 0 / 0.9738 GB, free: 9.383 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01222/1.421, allocations: 4.414 MB / 0.9782 GB, free: 4.91 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003016/1.424, allocations: 0.6735 MB / 0.9788 GB, free: 4.215 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006998/1.425, allocations: 28 kB / 0.9788 GB, free: 4.188 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002617/1.427, allocations: 207.4 kB / 0.979 GB, free: 3.984 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004159/1.428, allocations: 119.4 kB / 0.9792 GB, free: 3.867 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/1.428, allocations: 51.94 kB / 0.9792 GB, free: 3.816 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.00286/1.431, allocations: 1.531 MB / 0.9807 GB, free: 2.27 MB / 0.6824 GB Notification: Performance of sort global known variables: time 1.4e-07/1.431, allocations: 0 / 0.9807 GB, free: 2.27 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.004378/1.435, allocations: 0.9473 MB / 0.9816 GB, free: 1.32 MB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (thinWall2.U[1],thinWall2.U[2],thinWall2.U[3],thinWall2.U[4],thinWall2.U[5],thickWall2.U[1],thinWall1.U[1],thinWall1.U[2],thinWall1.U[3],thinWall1.U[4],thinWall1.U[5],thickWall1.U[1],thinWall.U[1],thinWall.U[2],thinWall.U[3],thinWall.U[4],thinWall.U[5],thickWall.U[1]) * 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 (112): * Single equations (assignments): 108 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.5676/2.003, allocations: 5.143 MB / 0.9866 GB, free: 180.1 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.01127/2.014, allocations: 3.615 MB / 0.9902 GB, free: 179.6 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/2.014, allocations: 1.719 kB / 0.9902 GB, free: 179.6 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.005591/2.02, allocations: 1.692 MB / 0.9918 GB, free: 179.1 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003916/2.024, allocations: 382 kB / 0.9922 GB, free: 179.1 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07065/2.094, allocations: 41.02 MB / 1.032 GB, free: 151 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005159/2.1, allocations: 2.173 MB / 1.034 GB, free: 150.3 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 0.004786/2.104, allocations: 0.6784 MB / 1.035 GB, free: 150.2 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002826/2.107, allocations: 0.9021 MB / 1.036 GB, free: 150.2 MB / 0.6824 GB Notification: Performance of SimCode: time 2.485e-06/2.107, allocations: 0 / 1.036 GB, free: 150.2 MB / 0.6824 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1378/2.245, allocations: 55.07 MB / 1.09 GB, free: 139.3 MB / 0.6824 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/2.245, allocations: 210 kB / 1.09 GB, free: 139.1 MB / 0.6824 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.063/7.309, allocations: 2.312 kB / 1.09 GB, free: 139.1 MB / 0.6824 GB (rm -f ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort.pipe >> ../files/ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Components_Adapters_Check_TestScalar2VectorHeatPort_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Components_Adapters_Check_TestScalar2VectorHeatPort.fmu > ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Components.Adapters.Check.TestScalar2VectorHeatPort_res.mat does not exist to compare? outputFormat=mat