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.0009315/0.0009315, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008561/0.000856, allocations: 172.7 kB / 15.95 MB, free: 208 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.42/1.42, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.697/0.697, allocations: 89.66 MB / 380.7 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.0003322/0.0003323, allocations: 14.25 kB / 460.1 MB, free: 24.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1477, allocations: 68.83 MB / 0.5166 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.533/0.6807, allocations: 195.8 MB / 0.7078 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01874/0.6995, allocations: 16.09 MB / 0.7235 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.701, allocations: 23.88 kB / 0.7235 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.7024, allocations: 0.4972 MB / 0.724 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004925/0.7074, allocations: 1.45 MB / 0.7254 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004317/0.7117, allocations: 1.265 MB / 0.7266 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002459/0.7142, allocations: 1.58 MB / 0.7282 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005466/0.7148, allocations: 234.3 kB / 0.7284 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002289/0.7171, allocations: 0.9852 MB / 0.7294 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000703/0.7178, allocations: 0.5249 MB / 0.7299 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.966e-05/0.7179, allocations: 48 kB / 0.7299 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006933/0.7248, allocations: 3.254 MB / 0.7331 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002656/0.7251, allocations: 179.1 kB / 0.7333 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003951/0.7255, allocations: 225.1 kB / 0.7335 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002757/0.7283, allocations: 1.493 MB / 0.7349 GB, free: 12.01 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.7283, allocations: 4 kB / 0.7349 GB, free: 12.01 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.744e-06/0.7283, allocations: 0 / 0.7349 GB, free: 12.01 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.472e-05/0.7283, allocations: 0 / 0.7349 GB, free: 12.01 MB / 0.545 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.003069/0.7314, allocations: 1.489 MB / 0.7364 GB, free: 10.46 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.7315, allocations: 8.031 kB / 0.7364 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001674/0.7316, allocations: 139.6 kB / 0.7365 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001899/0.7335, allocations: 270.3 kB / 0.7368 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.7347, allocations: 0.6025 MB / 0.7374 GB, free: 9.402 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000218/0.7349, allocations: 200.8 kB / 0.7376 GB, free: 9.184 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.735, allocations: 91.91 kB / 0.7377 GB, free: 9.094 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.737, allocations: 1.028 MB / 0.7387 GB, free: 8.035 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.737, allocations: 3.938 kB / 0.7387 GB, free: 8.031 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.959e-05/0.7371, allocations: 36 kB / 0.7387 GB, free: 7.996 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.7371, allocations: 20 kB / 0.7387 GB, free: 7.977 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.7388, allocations: 0.8081 MB / 0.7395 GB, free: 7.172 MB / 0.545 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.005621/0.7445, allocations: 4.079 MB / 0.7435 GB, free: 2.746 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/0.7464, allocations: 0.8938 MB / 0.7444 GB, free: 1.84 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009066/0.7473, allocations: 459.2 kB / 0.7448 GB, free: 1.387 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/0.7485, allocations: 1.299 MB / 0.7461 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.7485, allocations: 47.09 kB / 0.7461 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=80): time 2.615e-06/0.7485, allocations: 0 / 0.7461 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80): time 0.00539/0.7539, allocations: 2.111 MB / 0.7482 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/0.754, allocations: 56.06 kB / 0.7482 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008937/0.7549, allocations: 0.6061 MB / 0.7488 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.028e-05/0.755, allocations: 37.7 kB / 0.7489 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003884/0.7554, allocations: 424.1 kB / 0.7493 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002809/0.7557, allocations: 287.8 kB / 0.7495 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.489e-05/0.7557, allocations: 15.94 kB / 0.7496 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.7559, allocations: 338 kB / 0.7499 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006716/0.7566, allocations: 329.8 kB / 0.7502 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007383/0.7573, allocations: 416.5 kB / 0.7506 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007459/0.7581, allocations: 354.9 kB / 0.7509 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.7581, allocations: 0 / 0.7509 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003216/0.7613, allocations: 1.323 MB / 0.7522 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.7614, allocations: 6.188 kB / 0.7522 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.7614, allocations: 0 / 0.7522 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008612/0.7622, allocations: 294.3 kB / 0.7525 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009111/0.7632, allocations: 203.8 kB / 0.7527 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005867/0.769, allocations: 5.045 MB / 0.7576 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007703/0.7699, allocations: 111.2 kB / 0.7577 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/0.77, allocations: 59.97 kB / 0.7578 GB, free: 3.238 MB / 0.5606 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.0004481/0.7705, allocations: 209.7 kB / 0.758 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.7706, allocations: 86.97 kB / 0.7581 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00459/0.7752, allocations: 1.936 MB / 0.76 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.7753, allocations: 8 kB / 0.76 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.7753, allocations: 0 / 0.76 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.7753, allocations: 15.97 kB / 0.76 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005078/0.7804, allocations: 2.55 MB / 0.7625 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.7805, allocations: 0 / 0.7625 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009262/0.7814, allocations: 199.8 kB / 0.7627 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008053/0.7822, allocations: 294.4 kB / 0.763 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.66e-05/0.7823, allocations: 35.94 kB / 0.763 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005823/0.7882, allocations: 5.041 MB / 0.7679 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.7882, allocations: 0 / 0.7679 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003771/0.792, allocations: 1.832 MB / 0.7697 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003719/0.7923, allocations: 235.8 kB / 0.7699 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.7925, allocations: 20 kB / 0.7699 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005388/0.793, allocations: 71.8 kB / 0.77 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/0.7932, allocations: 76.8 kB / 0.7701 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.933e-05/0.7933, allocations: 51.97 kB / 0.7701 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005154/0.7938, allocations: 439 kB / 0.7706 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.01e-07/0.7939, allocations: 0 / 0.7706 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0013/0.7952, allocations: 471.2 kB / 0.771 GB, free: 5.109 MB / 0.5762 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.00519/0.8004, allocations: 2.861 MB / 0.7738 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002561/0.8029, allocations: 1.325 MB / 0.7751 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.803, allocations: 0 / 0.7751 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001706/0.8047, allocations: 0.9782 MB / 0.776 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.8059, allocations: 219.9 kB / 0.7763 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.8164, allocations: 6.153 MB / 0.7823 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007013/0.8172, allocations: 1.017 MB / 0.7833 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001518/0.8187, allocations: 0.614 MB / 0.7839 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007446/0.8194, allocations: 439.2 kB / 0.7843 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of SimCode: time 1.042e-06/0.8195, allocations: 4 kB / 0.7843 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3003/1.12, allocations: 26.79 MB / 0.8105 GB, free: 226 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/1.12, allocations: 261.7 kB / 0.8107 GB, free: 225.6 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.934/4.054, allocations: 0 / 0.8107 GB, free: 225.6 MB / 0.6075 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