Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.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,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",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.0009549/0.0009548, allocations: 100.1 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.001002/0.001002, 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.466/1.466, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7818/0.7818, allocations: 89.65 MB / 380.6 MB, free: 11.41 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004573/0.0004574, allocations: 12.53 kB / 460 MB, free: 24.28 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1435, allocations: 68.84 MB / 0.5165 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.5049/0.6485, allocations: 167.1 MB / 0.6796 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01832/0.6668, allocations: 14.48 MB / 0.6938 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001665/0.6686, allocations: 27.81 kB / 0.6938 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001853/0.6704, allocations: 0.4899 MB / 0.6943 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005037/0.6755, allocations: 1.515 MB / 0.6958 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004298/0.6798, allocations: 1.297 MB / 0.697 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002558/0.6824, allocations: 1.018 MB / 0.698 GB, free: 140 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004919/0.6829, allocations: 238.3 kB / 0.6982 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002122/0.685, allocations: 0.8883 MB / 0.6991 GB, free: 15 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005447/0.6856, allocations: 477.8 kB / 0.6996 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.989e-05/0.6857, allocations: 48 kB / 0.6996 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007377/0.6931, allocations: 3.332 MB / 0.7029 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000333/0.6935, allocations: 175.2 kB / 0.703 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004929/0.694, allocations: 225.1 kB / 0.7032 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003701/0.6977, allocations: 1.48 MB / 0.7047 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.6977, allocations: 0 / 0.7047 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.555e-06/0.6977, allocations: 3.938 kB / 0.7047 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.29e-05/0.6977, allocations: 0 / 0.7047 GB, free: 9.273 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003324/0.7011, allocations: 1.485 MB / 0.7061 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.7011, allocations: 8.031 kB / 0.7062 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001791/0.7013, allocations: 139.6 kB / 0.7063 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001946/0.7033, allocations: 274.3 kB / 0.7065 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.7044, allocations: 0.5947 MB / 0.7071 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002281/0.7046, allocations: 208.7 kB / 0.7073 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.7048, allocations: 95.91 kB / 0.7074 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/0.7066, allocations: 1.017 MB / 0.7084 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.7067, allocations: 3.938 kB / 0.7084 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.382e-05/0.7067, allocations: 36 kB / 0.7084 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.7068, allocations: 28 kB / 0.7085 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001627/0.7084, allocations: 0.7964 MB / 0.7093 GB, free: 4.449 MB / 0.5137 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.006484/0.7149, allocations: 4.083 MB / 0.7132 GB, free: 20 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003065/0.718, allocations: 0.9132 MB / 0.7141 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001244/0.7193, allocations: 1.307 MB / 0.7154 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.919e-05/0.7194, allocations: 48.8 kB / 0.7155 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=80): time 4.458e-06/0.7194, allocations: 0 / 0.7155 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of matching and sorting (n=80): time 0.005874/0.7252, allocations: 2.101 MB / 0.7175 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.7253, allocations: 60.06 kB / 0.7176 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008108/0.7261, allocations: 0.6099 MB / 0.7182 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.353e-05/0.7262, allocations: 41.7 kB / 0.7182 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003048/0.7266, allocations: 420.1 kB / 0.7186 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002633/0.7268, allocations: 279.8 kB / 0.7189 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.878e-05/0.7269, allocations: 12 kB / 0.7189 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.727, allocations: 334 kB / 0.7192 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006844/0.7277, allocations: 333.8 kB / 0.7195 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007499/0.7285, allocations: 411 kB / 0.7199 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007354/0.7292, allocations: 358.9 kB / 0.7202 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.7293, allocations: 0 / 0.7202 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003209/0.7325, allocations: 1.323 MB / 0.7215 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.7325, allocations: 7.938 kB / 0.7215 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.7325, allocations: 0 / 0.7215 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009013/0.7334, allocations: 286.4 kB / 0.7218 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000941/0.7344, allocations: 199.8 kB / 0.722 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006196/0.7406, allocations: 5.122 MB / 0.727 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008885/0.7415, allocations: 115.2 kB / 0.7271 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.7417, allocations: 51.92 kB / 0.7272 GB, free: 0.8828 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (82): * Single equations (assignments): 79 * 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%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004503/0.7421, allocations: 213.7 kB / 0.7274 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.7423, allocations: 82.97 kB / 0.7275 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004379/0.7467, allocations: 1.933 MB / 0.7293 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.7467, allocations: 11.94 kB / 0.7294 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.7467, allocations: 4 kB / 0.7294 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.7467, allocations: 3.984 kB / 0.7294 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005031/0.7518, allocations: 2.558 MB / 0.7319 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.7518, allocations: 0 / 0.7319 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000985/0.7528, allocations: 203.9 kB / 0.7321 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008669/0.7537, allocations: 286.3 kB / 0.7323 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.283e-05/0.7538, allocations: 35.98 kB / 0.7324 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006472/0.7603, allocations: 5.131 MB / 0.7374 GB, free: 5.891 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.7604, allocations: 4.031 kB / 0.7374 GB, free: 5.887 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004434/0.7648, allocations: 1.876 MB / 0.7392 GB, free: 3.938 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000583/0.7654, allocations: 243.8 kB / 0.7394 GB, free: 3.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.7656, allocations: 20 kB / 0.7395 GB, free: 3.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005761/0.7661, allocations: 71.8 kB / 0.7395 GB, free: 3.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.7663, allocations: 72.91 kB / 0.7396 GB, free: 3.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-05/0.7664, allocations: 47.98 kB / 0.7396 GB, free: 3.473 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005452/0.7669, allocations: 447 kB / 0.7401 GB, free: 3.043 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7669, allocations: 0 / 0.7401 GB, free: 3.043 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001407/0.7684, allocations: 467.2 kB / 0.7405 GB, free: 2.586 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,mCV.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int) * 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 (78): * Single equations (assignments): 75 * 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 {(1,100.0%) 4,(1,100.0%) 4,(3,88.9%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005519/0.7739, allocations: 3.271 MB / 0.7437 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002805/0.7767, allocations: 1.325 MB / 0.745 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.7767, allocations: 0 / 0.745 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001806/0.7786, allocations: 0.9627 MB / 0.7459 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.7798, allocations: 211.4 kB / 0.7461 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/0.7916, allocations: 6.747 MB / 0.7527 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007925/0.7925, allocations: 1.037 MB / 0.7537 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001624/0.7941, allocations: 0.618 MB / 0.7544 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007073/0.7948, allocations: 443.2 kB / 0.7548 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of SimCode: time 8.02e-07/0.7948, allocations: 0 / 0.7548 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05143/0.8463, allocations: 26.76 MB / 0.7809 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002532/0.8466, allocations: 255.6 kB / 0.7812 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.821/3.668, allocations: 0 / 0.7812 GB, free: 8.797 MB / 0.5919 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat does not exist to compare? outputFormat=mat