Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.conf.json 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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-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) Running command: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001199, allocations: 99.31 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6883/0.6883, allocations: 89.63 MB / 380.6 MB, free: 11.42 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0005179/0.0005179, allocations: 10.91 kB / 460 MB, free: 24.39 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1569, allocations: 68.83 MB / 0.5165 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.4733/0.6303, allocations: 159.9 MB / 0.6726 GB, free: 10.38 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01598/0.6463, allocations: 12.31 MB / 0.6846 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/0.6475, allocations: 19.88 kB / 0.6846 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.6489, allocations: 441.9 kB / 0.6851 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003215/0.6521, allocations: 0.9463 MB / 0.686 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003504/0.6556, allocations: 1.147 MB / 0.6871 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001642/0.6573, allocations: 0.8273 MB / 0.6879 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000374/0.6577, allocations: 209.5 kB / 0.6881 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001788/0.6595, allocations: 0.8105 MB / 0.6889 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004254/0.6599, allocations: 386.2 kB / 0.6893 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.183e-05/0.66, allocations: 40 kB / 0.6893 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003665/0.6637, allocations: 1.506 MB / 0.6908 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.6638, allocations: 143.4 kB / 0.6909 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002025/0.664, allocations: 185.2 kB / 0.6911 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00181/0.6658, allocations: 1.154 MB / 0.6922 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.6659, allocations: 0 / 0.6922 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6659, allocations: 4 kB / 0.6922 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.6659, allocations: 4 kB / 0.6922 GB, free: 6.242 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002465/0.6684, allocations: 1.236 MB / 0.6934 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.6684, allocations: 15.97 kB / 0.6934 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000147/0.6686, allocations: 118.5 kB / 0.6936 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001578/0.6701, allocations: 218.6 kB / 0.6938 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008022/0.671, allocations: 0.5064 MB / 0.6943 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002392/0.6712, allocations: 180.8 kB / 0.6944 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.6713, allocations: 75.98 kB / 0.6945 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.6729, allocations: 0.8442 MB / 0.6953 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.6729, allocations: 3.938 kB / 0.6953 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.48e-05/0.673, allocations: 32 kB / 0.6954 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.673, allocations: 16 kB / 0.6954 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.6744, allocations: 0.6754 MB / 0.696 GB, free: 2.195 MB / 0.4981 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.004271/0.6787, allocations: 2.883 MB / 0.6989 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/0.6801, allocations: 0.6303 MB / 0.6995 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006613/0.6807, allocations: 0.7367 MB / 0.7002 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.6808, allocations: 43.06 kB / 0.7002 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 2.585e-06/0.6808, allocations: 0 / 0.7002 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60): time 0.005152/0.6859, allocations: 1.879 MB / 0.7021 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.686, allocations: 63.91 kB / 0.7021 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000713/0.6867, allocations: 0.4913 MB / 0.7026 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.625e-05/0.6868, allocations: 33.7 kB / 0.7026 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003198/0.6872, allocations: 360.3 kB / 0.703 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/0.6874, allocations: 205 kB / 0.7032 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.6874, allocations: 12 kB / 0.7032 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002594/0.6877, allocations: 378.7 kB / 0.7035 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006579/0.6884, allocations: 277 kB / 0.7038 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006433/0.689, allocations: 284.9 kB / 0.7041 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006433/0.6897, allocations: 286.1 kB / 0.7044 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6897, allocations: 0 / 0.7044 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002769/0.6925, allocations: 1.117 MB / 0.7054 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.6925, allocations: 8 kB / 0.7055 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.6925, allocations: 4 kB / 0.7055 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008721/0.6934, allocations: 262.4 kB / 0.7057 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007404/0.6942, allocations: 159.7 kB / 0.7059 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006216/0.7004, allocations: 4.978 MB / 0.7107 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007185/0.7011, allocations: 87.53 kB / 0.7108 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.416e-05/0.7012, allocations: 43.98 kB / 0.7108 GB, free: 2.094 MB / 0.5137 GB 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 (57): * Single equations (assignments): 54 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003566/0.7016, allocations: 189.7 kB / 0.711 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.7017, allocations: 71.11 kB / 0.7111 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00393/0.7057, allocations: 1.663 MB / 0.7127 GB, free: 148 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.719e-06/0.7057, allocations: 8 kB / 0.7127 GB, free: 140 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.7057, allocations: 0 / 0.7127 GB, free: 140 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.7057, allocations: 7.922 kB / 0.7127 GB, free: 132 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004591/0.7103, allocations: 2.264 MB / 0.7149 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.7104, allocations: 0 / 0.7149 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007309/0.7111, allocations: 152 kB / 0.7151 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008037/0.7119, allocations: 274.2 kB / 0.7154 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.17e-05/0.712, allocations: 27.97 kB / 0.7154 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005642/0.7176, allocations: 4.99 MB / 0.7203 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.7177, allocations: 4 kB / 0.7203 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003587/0.7213, allocations: 1.609 MB / 0.7218 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003658/0.7217, allocations: 200 kB / 0.722 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.7218, allocations: 16 kB / 0.722 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00051/0.7223, allocations: 59.95 kB / 0.7221 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.7224, allocations: 56.48 kB / 0.7221 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.98e-05/0.7225, allocations: 35.98 kB / 0.7222 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004776/0.723, allocations: 370.8 kB / 0.7225 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.723, allocations: 0 / 0.7225 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001133/0.7242, allocations: 355.3 kB / 0.7229 GB, free: 5.117 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceA.inlet.m_flow,flowResistanceB.inlet.m_flow) * 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 (53): * Single equations (assignments): 50 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004559/0.7287, allocations: 2.949 MB / 0.7258 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002407/0.7312, allocations: 1.144 MB / 0.7269 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.7312, allocations: 0 / 0.7269 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001619/0.7328, allocations: 0.8663 MB / 0.7277 GB, free: 16 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009988/0.7338, allocations: 180 kB / 0.7279 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008719/0.7426, allocations: 4.909 MB / 0.7327 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005349/0.7432, allocations: 0.9653 MB / 0.7336 GB, free: 9.844 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001403/0.7446, allocations: 0.5362 MB / 0.7341 GB, free: 9.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006101/0.7452, allocations: 355.3 kB / 0.7345 GB, free: 8.977 MB / 0.545 GB Notification: Performance of SimCode: time 9.12e-07/0.7452, allocations: 0 / 0.7345 GB, free: 8.977 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04356/0.7888, allocations: 21.59 MB / 0.7556 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003603/0.7892, allocations: 273.2 kB / 0.7558 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.561/3.35, allocations: 0 / 0.7558 GB, free: 3.328 MB / 0.5606 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat does not exist to compare? outputFormat=mat