Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_TestVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_TestVolumes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 176.2 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.3 MB / 213.4 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000805/0.0008051, allocations: 92.25 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8394/0.8394, allocations: 90.36 MB / 399.7 MB, free: 12.12 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 2.237e-05/2.233e-05, allocations: 4 kB / 472.3 MB, free: 3.367 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4356/0.4356, allocations: 66.25 MB / 0.5259 GB, free: 28.99 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.971/3.407, allocations: 1.222 GB / 1.748 GB, free: 116.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/3.407, allocations: 87.95 kB / 1.748 GB, free: 116.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.391/8.798, allocations: 1.32 GB / 3.068 GB, free: 33.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.954e-06/8.798, allocations: 0 / 3.068 GB, free: 33.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0005967/8.799, allocations: 119.4 kB / 3.068 GB, free: 33.64 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1067 * Number of variables: 1067 Notification: Performance of Generate backend data structure: time 0.0237/8.822, allocations: 5.314 MB / 3.073 GB, free: 31.81 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/8.822, allocations: 11.59 kB / 3.073 GB, free: 31.81 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01187/8.834, allocations: 1.065 MB / 3.074 GB, free: 31.56 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007337/8.842, allocations: 2.101 MB / 3.076 GB, free: 31.01 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003664/8.842, allocations: 141.5 kB / 3.076 GB, free: 31.01 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001902/8.844, allocations: 252.3 kB / 3.077 GB, free: 31 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01087/8.855, allocations: 4.285 MB / 3.081 GB, free: 30.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01424/8.869, allocations: 4.501 MB / 3.085 GB, free: 30.67 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001872/8.869, allocations: 6.875 kB / 3.085 GB, free: 30.67 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001372/8.871, allocations: 9.594 kB / 3.085 GB, free: 30.67 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004205/8.871, allocations: 233.1 kB / 3.086 GB, free: 30.66 MB / 0.6355 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.03942/8.911, allocations: 24.51 MB / 3.109 GB, free: 16.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006528/8.917, allocations: 3.667 MB / 3.113 GB, free: 16.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003613/8.921, allocations: 2.178 MB / 3.115 GB, free: 16.21 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02184/8.943, allocations: 11.07 MB / 3.126 GB, free: 25.66 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001189/8.943, allocations: 97.2 kB / 3.126 GB, free: 25.62 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=462): time 1.131e-05/8.943, allocations: 2.812 kB / 3.126 GB, free: 25.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=462): time 0.01517/8.958, allocations: 5.28 MB / 3.131 GB, free: 25.08 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001552/8.958, allocations: 258.4 kB / 3.131 GB, free: 24.82 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002964/8.961, allocations: 1.289 MB / 3.133 GB, free: 24.61 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0006257/8.962, allocations: 29.27 kB / 3.133 GB, free: 24.57 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001193/8.963, allocations: 1.517 MB / 3.134 GB, free: 23.92 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.001493/8.965, allocations: 1.531 MB / 3.136 GB, free: 22.88 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004148/8.965, allocations: 4.906 kB / 3.136 GB, free: 22.88 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0003866/8.965, allocations: 476.7 kB / 3.136 GB, free: 22.57 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002925/8.968, allocations: 1.642 MB / 3.138 GB, free: 22.55 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00356/8.972, allocations: 2.241 MB / 3.14 GB, free: 21.99 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007902/8.98, allocations: 2.51 MB / 3.142 GB, free: 21.93 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.26e-05/8.98, allocations: 7.344 kB / 3.142 GB, free: 21.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=570) (initialization): time 0.01372/8.994, allocations: 5.635 MB / 3.148 GB, free: 21.45 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.909e-05/8.994, allocations: 10.16 kB / 3.148 GB, free: 21.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.41e-05/8.994, allocations: 16.84 kB / 3.148 GB, free: 21.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001496/8.995, allocations: 0.5229 MB / 3.148 GB, free: 21.31 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00316/8.998, allocations: 0.8524 MB / 3.149 GB, free: 21.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01841/9.017, allocations: 23.27 MB / 3.172 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005217/9.022, allocations: 392 kB / 3.172 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001706/9.024, allocations: 252.6 kB / 3.173 GB, free: 15.55 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (508): * Single equations (assignments): 468 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002522/9.026, allocations: 188.2 kB / 3.173 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01658/9.043, allocations: 5.289 MB / 3.178 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002009/9.045, allocations: 345.7 kB / 3.178 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0198/9.065, allocations: 6.263 MB / 3.184 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001521/9.065, allocations: 64.92 kB / 3.185 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.486e-05/9.065, allocations: 7.375 kB / 3.185 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000147/9.065, allocations: 22.45 kB / 3.185 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02671/9.092, allocations: 10.57 MB / 3.195 GB, free: 12.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-05/9.092, allocations: 7.375 kB / 3.195 GB, free: 12.75 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003052/9.095, allocations: 0.7108 MB / 3.196 GB, free: 12.72 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002761/9.098, allocations: 0.8867 MB / 3.196 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007428/9.099, allocations: 116.4 kB / 3.197 GB, free: 12.33 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02161/9.12, allocations: 28.8 MB / 3.225 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.628e-06/9.12, allocations: 6.5 kB / 3.225 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02549/9.146, allocations: 9.05 MB / 3.233 GB, free: 11.71 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001816/9.148, allocations: 449.9 kB / 3.234 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001649/9.149, allocations: 24.06 kB / 3.234 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006907/9.156, allocations: 303.2 kB / 3.234 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001565/9.158, allocations: 372.9 kB / 3.235 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001514/9.159, allocations: 253.9 kB / 3.235 GB, free: 11.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00234/9.162, allocations: 0.9428 MB / 3.236 GB, free: 10.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.9e-07/9.162, allocations: 0 / 3.236 GB, free: 10.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01398/9.176, allocations: 2.803 MB / 3.238 GB, free: 10.04 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 42 (source.outlet.m_flow,sink.inlet.m_flow,flexVolume2.M,flexVolume2.U_med,flexVolume2.m_flow_in,volume1.M,volume1.U_med,heatportVolume1.M,heatportVolume1.U_med,heatportVolume1.m_flow_in,heatportVolume1.m_flow_out,flexVolume1.M,flexVolume1.U_med,flexVolume1.m_flow_rear,flexVolume1.m_flow_fore,volume.M,volume.U_med,volume.m_flow_rear,volumeMix1.M,volumeMix1.MXi[1],volumeMix1.MXi[2],volumeMix1.U_med,source4.outlet.m_flow,source5.outlet.m_flow,sink3.inlet.m_flow,volumeMix2.M,volumeMix2.MXi[1],volumeMix2.MXi[2],volumeMix2.U_med,boundary_rear2.fore.m_flow,boundary_rear3.fore.m_flow,boundary_rear4.fore.m_flow,heatportVolume.M,heatportVolume.U_med,flowResistance.rear.m_flow,flowResistance1.rear.m_flow,heatportVolume2.M,heatportVolume2.U_med,flowResistance10.rear.m_flow,flowResistance11.rear.m_flow,heatportVolume3.M,heatportVolume3.U_med) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (406): * Single equations (assignments): 356 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 28 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 10 {2 3,1 2,1 2,1 2,2 3,1 1,1 1,1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.03672/9.213, allocations: 15.86 MB / 3.254 GB, free: 2.477 MB / 0.698 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {flowResistance5.inlet.state.X[1], flowResistance5.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces_Outlet$source4$outlet_Medium_ThermodynamicState210.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {flowResistance6.inlet.state.X[1], flowResistance6.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces_Outlet$source5$outlet_Medium_ThermodynamicState216.X Notification: Performance of simCode: created initialization part: time 0.5109/9.724, allocations: 6.846 MB / 3.261 GB, free: 87.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.83e-05/9.724, allocations: 6.344 kB / 3.261 GB, free: 87.54 MB / 0.698 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {flowResistance5.inlet.state.X[1], flowResistance5.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces_Outlet$source4$outlet_Medium_ThermodynamicState933.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {flowResistance6.inlet.state.X[1], flowResistance6.inlet.state.X[2]} = $TMP_ThermofluidStream_Interfaces_Outlet$source5$outlet_Medium_ThermodynamicState945.X Notification: Performance of simCode: created simulation system equations: time 0.007934/9.732, allocations: 4.89 MB / 3.265 GB, free: 85.62 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007227/9.739, allocations: 0.9914 MB / 3.266 GB, free: 85.61 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07368/9.813, allocations: 30.89 MB / 3.297 GB, free: 83.46 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002275/9.815, allocations: 2.446 MB / 3.299 GB, free: 82.67 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.005062/9.82, allocations: 0.9634 MB / 3.3 GB, free: 82.57 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00299/9.823, allocations: 1.807 MB / 3.302 GB, free: 82.57 MB / 0.698 GB Notification: Performance of SimCode: time 1.253e-06/9.823, allocations: 0 / 3.302 GB, free: 82.57 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2385/10.06, allocations: 137.6 MB / 3.436 GB, free: 63.94 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/10.06, allocations: 210.7 kB / 3.436 GB, free: 63.67 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.007/18.07, allocations: 0 / 3.436 GB, free: 63.67 MB / 0.698 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_TestVolumes_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_TestVolumes.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes_res.mat does not exist to compare? outputFormat=mat