Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.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.HeatExchangers.Tests.CrossFlowNTU,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",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.01227/0.01227, allocations: 172.7 kB / 15.12 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.8/1.8, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.000975/0.0009749, allocations: 94.84 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8855/0.8855, allocations: 90.59 MB / 408.5 MB, free: 14.95 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003264/0.0003264, allocations: 8 kB / 485.3 MB, free: 1.965 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.4325, allocations: 66.28 MB / 0.5387 GB, free: 45.46 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.2212/0.6538, allocations: 166.6 MB / 0.7013 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0212/0.675, allocations: 16.79 MB / 0.7177 GB, free: 4.191 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.6764, allocations: 19.88 kB / 0.7177 GB, free: 4.172 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001789/0.6782, allocations: 449.8 kB / 0.7182 GB, free: 3.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.005568/0.6838, allocations: 1.464 MB / 0.7196 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.008193/0.6921, allocations: 2.223 MB / 0.7218 GB, free: 60 kB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002298/0.6944, allocations: 0.9203 MB / 0.7227 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004113/0.6948, allocations: 225.5 kB / 0.7229 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001813/0.6966, allocations: 0.8416 MB / 0.7237 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004928/0.6972, allocations: 430 kB / 0.7241 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 7.78e-05/0.6972, allocations: 40 kB / 0.7242 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008764/0.706, allocations: 4.245 MB / 0.7283 GB, free: 9.352 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002185/0.7063, allocations: 167.2 kB / 0.7285 GB, free: 9.188 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0003423/0.7066, allocations: 205.2 kB / 0.7287 GB, free: 8.98 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.004188/0.7108, allocations: 1.896 MB / 0.7305 GB, free: 7.086 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.7108, allocations: 0 / 0.7305 GB, free: 7.086 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7109, allocations: 3.938 kB / 0.7305 GB, free: 7.082 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.711e-05/0.7109, allocations: 4 kB / 0.7305 GB, free: 7.078 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003541/0.7144, allocations: 1.575 MB / 0.7321 GB, free: 5.453 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.7145, allocations: 12.03 kB / 0.7321 GB, free: 5.441 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001765/0.7147, allocations: 135.2 kB / 0.7322 GB, free: 5.301 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001666/0.7164, allocations: 238.5 kB / 0.7324 GB, free: 5.066 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008994/0.7173, allocations: 0.5433 MB / 0.733 GB, free: 4.484 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002579/0.7176, allocations: 201.3 kB / 0.7331 GB, free: 4.262 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.7177, allocations: 87.95 kB / 0.7332 GB, free: 4.176 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/0.7196, allocations: 0.9718 MB / 0.7342 GB, free: 3.184 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.7197, allocations: 0 / 0.7342 GB, free: 3.184 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.056e-05/0.7198, allocations: 36 kB / 0.7342 GB, free: 3.148 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.7198, allocations: 24 kB / 0.7342 GB, free: 3.125 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.7214, allocations: 0.7807 MB / 0.735 GB, free: 2.344 MB / 0.5417 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.004706/0.7261, allocations: 3.664 MB / 0.7386 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002048/0.7282, allocations: 0.9234 MB / 0.7395 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/0.7293, allocations: 1.304 MB / 0.7408 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.7294, allocations: 43.16 kB / 0.7408 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=83): time 5.32e-06/0.7294, allocations: 3.984 kB / 0.7408 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of matching and sorting (n=83): time 0.005812/0.7352, allocations: 2.356 MB / 0.7431 GB, free: 9.359 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.7353, allocations: 64.05 kB / 0.7432 GB, free: 9.285 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005999/0.7359, allocations: 487.2 kB / 0.7436 GB, free: 8.801 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.947e-05/0.736, allocations: 45.7 kB / 0.7437 GB, free: 8.75 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002891/0.7363, allocations: 384.3 kB / 0.744 GB, free: 8.367 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002574/0.7366, allocations: 279.8 kB / 0.7443 GB, free: 8.09 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-05/0.7366, allocations: 16 kB / 0.7443 GB, free: 8.074 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.7368, allocations: 382.8 kB / 0.7447 GB, free: 7.691 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007171/0.7375, allocations: 341.8 kB / 0.745 GB, free: 7.355 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007593/0.7383, allocations: 427 kB / 0.7454 GB, free: 6.926 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007788/0.7391, allocations: 362.9 kB / 0.7458 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.7391, allocations: 0 / 0.7458 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003224/0.7423, allocations: 1.334 MB / 0.7471 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.7424, allocations: 9.406 kB / 0.7471 GB, free: 5.211 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.7424, allocations: 0 / 0.7471 GB, free: 5.211 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009157/0.7433, allocations: 276.6 kB / 0.7473 GB, free: 4.934 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008903/0.7442, allocations: 207.7 kB / 0.7475 GB, free: 4.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3208/1.065, allocations: 5.089 MB / 0.7525 GB, free: 178.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009787/1.066, allocations: 107.1 kB / 0.7526 GB, free: 178.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/1.066, allocations: 61.02 kB / 0.7527 GB, free: 178.7 MB / 0.5573 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 (80): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0004142/1.067, allocations: 211.9 kB / 0.7529 GB, free: 178.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/1.067, allocations: 71.22 kB / 0.7529 GB, free: 178.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004022/1.071, allocations: 1.639 MB / 0.7545 GB, free: 178.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/1.071, allocations: 10.5 kB / 0.7545 GB, free: 178.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/1.071, allocations: 6.281 kB / 0.7546 GB, free: 178.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/1.071, allocations: 2.906 kB / 0.7546 GB, free: 178.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00459/1.075, allocations: 2.527 MB / 0.757 GB, free: 178.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/1.075, allocations: 0 / 0.757 GB, free: 178.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009325/1.076, allocations: 205.5 kB / 0.7572 GB, free: 178.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007435/1.077, allocations: 280.2 kB / 0.7575 GB, free: 178.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.572e-05/1.077, allocations: 39.36 kB / 0.7575 GB, free: 178.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005119/1.082, allocations: 5.103 MB / 0.7625 GB, free: 174.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.082, allocations: 0 / 0.7625 GB, free: 174.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004256/1.087, allocations: 1.92 MB / 0.7644 GB, free: 174 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005068/1.087, allocations: 239.9 kB / 0.7646 GB, free: 173.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/1.087, allocations: 22.98 kB / 0.7646 GB, free: 173.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005538/1.088, allocations: 66.14 kB / 0.7647 GB, free: 173.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/1.088, allocations: 76.69 kB / 0.7648 GB, free: 173.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/1.088, allocations: 70.05 kB / 0.7648 GB, free: 173.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003957/1.089, allocations: 338.9 kB / 0.7652 GB, free: 173.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.31e-07/1.089, allocations: 0 / 0.7652 GB, free: 173.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002163/1.091, allocations: 0.6877 MB / 0.7658 GB, free: 173.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (83): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.006624/1.097, allocations: 3.522 MB / 0.7693 GB, free: 172.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003157/1.101, allocations: 1.439 MB / 0.7707 GB, free: 171.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/1.101, allocations: 0 / 0.7707 GB, free: 171.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001979/1.103, allocations: 1.056 MB / 0.7717 GB, free: 171.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/1.104, allocations: 193.2 kB / 0.7719 GB, free: 171.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/1.116, allocations: 6.436 MB / 0.7782 GB, free: 167.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006812/1.116, allocations: 1.02 MB / 0.7792 GB, free: 167.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001292/1.118, allocations: 234.9 kB / 0.7794 GB, free: 167.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006669/1.118, allocations: 403.4 kB / 0.7798 GB, free: 166.8 MB / 0.5573 GB Notification: Performance of SimCode: time 9.32e-07/1.118, allocations: 1.594 kB / 0.7798 GB, free: 166.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06271/1.181, allocations: 30.97 MB / 0.81 GB, free: 153.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/1.181, allocations: 257.4 kB / 0.8103 GB, free: 153.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.282/4.463, allocations: 0 / 0.8103 GB, free: 153.1 MB / 0.5573 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat does not exist to compare? outputFormat=mat