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.00184/0.00184, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 221.5 MB / 229.6 MB, free: 3.137 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.0009895/0.0009894, allocations: 96.34 kB / 280.5 MB, free: 1.168 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09614/0.09614, allocations: 20.17 MB / 351.4 MB, free: 10.21 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.277/1.277, allocations: 127.6 MB / 0.5233 GB, free: 4.383 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 2.749e-05/2.824e-05, allocations: 4 kB / 0.6111 GB, free: 10.29 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5918/0.5918, allocations: 82.85 MB / 0.692 GB, free: 33.82 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2038/0.7957, allocations: 129.5 MB / 0.8185 GB, free: 11.96 MB / 0.5574 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/0.7961, allocations: 84.5 kB / 0.8186 GB, free: 11.88 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 0.1895/0.9856, allocations: 59.13 MB / 0.8763 GB, free: 500 kB / 0.6043 GB Notification: Performance of FrontEnd: time 2.736e-06/0.9857, allocations: 0 / 0.8763 GB, free: 500 kB / 0.6043 GB Notification: Performance of Transformations before backend: time 0.0002474/0.9859, allocations: 59.94 kB / 0.8764 GB, free: 440 kB / 0.6043 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.5389/1.525, allocations: 2.817 MB / 0.8791 GB, free: 136.5 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 6.093e-05/1.525, allocations: 9.219 kB / 0.8791 GB, free: 136.5 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002106/1.527, allocations: 319.8 kB / 0.8794 GB, free: 136.3 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006969/1.534, allocations: 1.645 MB / 0.8811 GB, free: 135.9 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003817/1.534, allocations: 110.7 kB / 0.8812 GB, free: 135.9 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001345/1.536, allocations: 142 kB / 0.8813 GB, free: 135.9 MB / 0.6043 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008681/1.544, allocations: 3.216 MB / 0.8844 GB, free: 135.9 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007022/1.552, allocations: 3.855 MB / 0.8882 GB, free: 134.8 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.011e-05/1.552, allocations: 31.86 kB / 0.8882 GB, free: 134.8 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002498/1.552, allocations: 12.34 kB / 0.8882 GB, free: 134.8 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004674/1.552, allocations: 284.1 kB / 0.8885 GB, free: 134.8 MB / 0.6043 GB Warning: The model contains alias variables with conflicting start and/or 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.02389/1.576, allocations: 18.36 MB / 0.9064 GB, free: 122.7 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003008/1.579, allocations: 1.694 MB / 0.9081 GB, free: 122.5 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001397/1.581, allocations: 0.9562 MB / 0.909 GB, free: 122.2 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/1.581, allocations: 33.44 kB / 0.9091 GB, free: 122.2 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/1.581, allocations: 48.25 kB / 0.9091 GB, free: 122.1 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=136): time 5.51e-06/1.581, allocations: 0 / 0.9091 GB, free: 122.1 MB / 0.6043 GB Notification: Performance of matching and sorting (n=136): time 0.007599/1.589, allocations: 2.473 MB / 0.9115 GB, free: 121.3 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/1.589, allocations: 285.8 kB / 0.9118 GB, free: 121 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002783/1.591, allocations: 1.623 MB / 0.9134 GB, free: 120.3 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.0001757/1.592, allocations: 27.08 kB / 0.9134 GB, free: 120.3 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007215/1.592, allocations: 1.24 MB / 0.9146 GB, free: 119.3 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004774/1.593, allocations: 495.5 kB / 0.9151 GB, free: 119 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/1.593, allocations: 2.844 kB / 0.9151 GB, free: 119 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.593, allocations: 410.9 kB / 0.9155 GB, free: 118.6 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/1.595, allocations: 1.041 MB / 0.9165 GB, free: 118.3 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002025/1.597, allocations: 2.034 MB / 0.9185 GB, free: 116.6 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001663/1.599, allocations: 1.36 MB / 0.9198 GB, free: 116.1 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.622e-05/1.599, allocations: 14.72 kB / 0.9198 GB, free: 116.1 MB / 0.6043 GB Notification: Performance of matching and sorting (n=313) (initialization): time 0.01175/1.61, allocations: 4 MB / 0.9237 GB, free: 114.9 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.933e-05/1.61, allocations: 24.09 kB / 0.9238 GB, free: 114.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.678e-05/1.61, allocations: 30.59 kB / 0.9238 GB, free: 114.9 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005619/1.616, allocations: 1.084 MB / 0.9248 GB, free: 114.8 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003109/1.619, allocations: 0.6788 MB / 0.9255 GB, free: 114.7 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01592/1.635, allocations: 10.56 MB / 0.9358 GB, free: 107.7 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005148/1.64, allocations: 364.5 kB / 0.9362 GB, free: 107.6 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006047/1.641, allocations: 147.8 kB / 0.9363 GB, free: 107.6 MB / 0.6043 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 () * 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.0005951/1.642, allocations: 194.1 kB / 0.9365 GB, free: 107.4 MB / 0.6043 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006845/1.648, allocations: 2.474 MB / 0.9389 GB, free: 106.6 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005683/1.649, allocations: 200.6 kB / 0.9391 GB, free: 106.5 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005098/1.654, allocations: 2.563 MB / 0.9416 GB, free: 105.6 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.139e-05/1.654, allocations: 16.5 kB / 0.9416 GB, free: 105.6 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/1.654, allocations: 7.344 kB / 0.9416 GB, free: 105.6 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-05/1.654, allocations: 11.31 kB / 0.9416 GB, free: 105.6 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003892/1.658, allocations: 1.9 MB / 0.9435 GB, free: 104.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/1.658, allocations: 3.531 kB / 0.9435 GB, free: 104.9 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002747/1.661, allocations: 0.4939 MB / 0.944 GB, free: 104.9 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002078/1.663, allocations: 0.5539 MB / 0.9445 GB, free: 104.8 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001834/1.663, allocations: 33.31 kB / 0.9446 GB, free: 104.8 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007874/1.671, allocations: 7.711 MB / 0.9521 GB, free: 98.79 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.091e-05/1.671, allocations: 0.5625 kB / 0.9521 GB, free: 98.79 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007809/1.679, allocations: 3.87 MB / 0.9559 GB, free: 97.2 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002041/1.681, allocations: 0.6379 MB / 0.9565 GB, free: 96.85 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001031/1.682, allocations: 14.55 kB / 0.9565 GB, free: 96.85 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002839/1.685, allocations: 175.6 kB / 0.9567 GB, free: 96.82 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003336/1.685, allocations: 117.1 kB / 0.9568 GB, free: 96.8 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/1.685, allocations: 45.81 kB / 0.9568 GB, free: 96.8 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.00182/1.687, allocations: 1.261 MB / 0.9581 GB, free: 96.27 MB / 0.6043 GB Notification: Performance of sort global known variables: time 2e-07/1.687, allocations: 0 / 0.9581 GB, free: 96.27 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.003819/1.691, allocations: 0.9313 MB / 0.959 GB, free: 96.15 MB / 0.6043 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 () * 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.005953/1.697, allocations: 4.571 MB / 0.9634 GB, free: 92.14 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.006033/1.703, allocations: 3.144 MB / 0.9665 GB, free: 89.39 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/1.703, allocations: 0 / 0.9665 GB, free: 89.39 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.00193/1.705, allocations: 1.478 MB / 0.9679 GB, free: 88.05 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/1.707, allocations: 274.2 kB / 0.9682 GB, free: 87.83 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/1.719, allocations: 5.955 MB / 0.974 GB, free: 82 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001485/1.721, allocations: 2.174 MB / 0.9761 GB, free: 79.79 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.002266/1.723, allocations: 0.6525 MB / 0.9768 GB, free: 79.15 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001391/1.724, allocations: 0.9053 MB / 0.9777 GB, free: 78.24 MB / 0.6043 GB Notification: Performance of SimCode: time 1.914e-06/1.725, allocations: 0 / 0.9777 GB, free: 78.24 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09099/1.815, allocations: 48.95 MB / 1.025 GB, free: 30.23 MB / 0.6043 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003026/1.816, allocations: 136.2 kB / 1.026 GB, free: 30.04 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.348/6.164, allocations: 2.656 kB / 1.026 GB, free: 30.04 MB / 0.6043 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