Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.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_zeroMassFlow,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",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.006191/0.006192, allocations: 169.5 kB / 15.13 MB, free: 6.027 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.367/1.367, allocations: 205.4 MB / 221.3 MB, free: 13.73 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.0007232/0.0007231, allocations: 82.31 kB / 269.6 MB, free: 13.27 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.6637/0.6637, allocations: 90.61 MB / 408.5 MB, free: 14.96 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004592/0.0004592, allocations: 8 kB / 485.4 MB, free: 1.949 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3327, allocations: 66.28 MB / 0.5387 GB, free: 45.05 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.2176/0.5503, allocations: 194.6 MB / 0.7287 GB, free: 8.801 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01691/0.5673, allocations: 15.02 MB / 0.7434 GB, free: 9.75 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008394/0.5682, allocations: 19.88 kB / 0.7434 GB, free: 9.73 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.5693, allocations: 381.8 kB / 0.7438 GB, free: 9.355 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002666/0.5719, allocations: 0.8625 MB / 0.7446 GB, free: 8.488 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005298/0.5772, allocations: 1.825 MB / 0.7464 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001532/0.5788, allocations: 1.152 MB / 0.7475 GB, free: 5.523 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003234/0.5791, allocations: 205 kB / 0.7477 GB, free: 5.312 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001726/0.5808, allocations: 0.8451 MB / 0.7485 GB, free: 4.465 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004546/0.5813, allocations: 382.2 kB / 0.7489 GB, free: 4.09 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.543e-05/0.5814, allocations: 32 kB / 0.7489 GB, free: 4.059 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006024/0.5874, allocations: 2.841 MB / 0.7517 GB, free: 1.215 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.5876, allocations: 123.4 kB / 0.7518 GB, free: 1.094 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.5878, allocations: 169.3 kB / 0.752 GB, free: 0.9219 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.3539/0.9417, allocations: 1.51 MB / 0.7535 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.9417, allocations: 0 / 0.7535 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.765e-06/0.9417, allocations: 0 / 0.7535 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.9417, allocations: 1.094 kB / 0.7535 GB, free: 11.75 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002651/0.9444, allocations: 1.321 MB / 0.7548 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.9445, allocations: 13.75 kB / 0.7548 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001214/0.9446, allocations: 113.8 kB / 0.7549 GB, free: 11.21 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/0.9459, allocations: 196.7 kB / 0.7551 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007084/0.9466, allocations: 468.9 kB / 0.7555 GB, free: 10.91 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002089/0.9468, allocations: 186 kB / 0.7557 GB, free: 10.79 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.9469, allocations: 71.28 kB / 0.7558 GB, free: 10.79 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.9484, allocations: 0.7223 MB / 0.7565 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.9485, allocations: 4.094 kB / 0.7565 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.027e-05/0.9486, allocations: 28.25 kB / 0.7565 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.558e-05/0.9486, allocations: 19.38 kB / 0.7565 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.9499, allocations: 0.6394 MB / 0.7571 GB, free: 10.74 MB / 0.5573 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.003365/0.9533, allocations: 2.729 MB / 0.7598 GB, free: 9.438 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.9546, allocations: 0.6582 MB / 0.7604 GB, free: 9.395 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006915/0.9553, allocations: 376.8 kB / 0.7608 GB, free: 9.383 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002031/0.9573, allocations: 1.903 MB / 0.7627 GB, free: 23.59 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.9574, allocations: 43.48 kB / 0.7627 GB, free: 23.55 MB / 0.573 GB Notification: Performance of pre-optimization done (n=62): time 3.357e-06/0.9574, allocations: 0 / 0.7627 GB, free: 23.55 MB / 0.573 GB Notification: Performance of matching and sorting (n=62): time 0.005209/0.9626, allocations: 1.946 MB / 0.7646 GB, free: 23.11 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.9627, allocations: 59.69 kB / 0.7647 GB, free: 23.05 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004694/0.9631, allocations: 385.2 kB / 0.765 GB, free: 22.95 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.747e-05/0.9632, allocations: 34.3 kB / 0.7651 GB, free: 22.91 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.9634, allocations: 317.2 kB / 0.7654 GB, free: 22.76 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.9636, allocations: 212 kB / 0.7656 GB, free: 22.62 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.9636, allocations: 12.91 kB / 0.7656 GB, free: 22.62 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.9638, allocations: 366 kB / 0.7659 GB, free: 22.3 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006964/0.9645, allocations: 287 kB / 0.7662 GB, free: 22.3 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006776/0.9652, allocations: 296.2 kB / 0.7665 GB, free: 22.29 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007419/0.9659, allocations: 300.3 kB / 0.7668 GB, free: 22.27 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.966, allocations: 1.219 kB / 0.7668 GB, free: 22.27 MB / 0.573 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003083/0.969, allocations: 1.122 MB / 0.7679 GB, free: 22.15 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.9691, allocations: 5.703 kB / 0.7679 GB, free: 22.15 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.9691, allocations: 0 / 0.7679 GB, free: 22.15 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009358/0.97, allocations: 265 kB / 0.7681 GB, free: 22.11 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007625/0.9708, allocations: 144.7 kB / 0.7683 GB, free: 22.11 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006449/0.9773, allocations: 4.902 MB / 0.773 GB, free: 18.29 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007294/0.978, allocations: 81.31 kB / 0.7731 GB, free: 18.27 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.9782, allocations: 50.03 kB / 0.7732 GB, free: 18.27 MB / 0.573 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 (55): * Single equations (assignments): 50 * 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%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004097/0.9786, allocations: 178.2 kB / 0.7733 GB, free: 18.15 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.9787, allocations: 52.84 kB / 0.7734 GB, free: 18.12 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004191/0.9829, allocations: 1.377 MB / 0.7747 GB, free: 17.97 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.983, allocations: 9.016 kB / 0.7747 GB, free: 17.97 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.983, allocations: 1.578 kB / 0.7747 GB, free: 17.97 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.983, allocations: 3.938 kB / 0.7748 GB, free: 17.97 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00568/0.9887, allocations: 2.146 MB / 0.7768 GB, free: 17.55 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.9887, allocations: 1.562 kB / 0.7769 GB, free: 17.55 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008138/0.9895, allocations: 157.7 kB / 0.777 GB, free: 17.54 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008312/0.9904, allocations: 259 kB / 0.7772 GB, free: 17.51 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.202e-05/0.9905, allocations: 33.45 kB / 0.7773 GB, free: 17.51 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006067/0.9965, allocations: 4.894 MB / 0.7821 GB, free: 13.7 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.9966, allocations: 3.953 kB / 0.7821 GB, free: 13.69 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004249/1.001, allocations: 1.597 MB / 0.7836 GB, free: 13.44 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004449/1.001, allocations: 209.2 kB / 0.7838 GB, free: 13.3 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.422e-05/1.001, allocations: 17.81 kB / 0.7838 GB, free: 13.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000507/1.002, allocations: 57.92 kB / 0.7839 GB, free: 13.3 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/1.002, allocations: 61.98 kB / 0.784 GB, free: 13.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/1.002, allocations: 49.81 kB / 0.784 GB, free: 13.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004233/1.003, allocations: 270 kB / 0.7843 GB, free: 13.21 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.51e-07/1.003, allocations: 0 / 0.7843 GB, free: 13.21 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002243/1.005, allocations: 0.5282 MB / 0.7848 GB, free: 13.14 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (57): * Single equations (assignments): 52 * 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%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006732/1.012, allocations: 2.86 MB / 0.7876 GB, free: 12.22 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.00302/1.015, allocations: 1.251 MB / 0.7888 GB, free: 11.79 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.015, allocations: 4 kB / 0.7888 GB, free: 11.79 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001912/1.017, allocations: 0.9515 MB / 0.7897 GB, free: 11.37 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/1.018, allocations: 154.3 kB / 0.7899 GB, free: 11.36 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008783/1.026, allocations: 4.648 MB / 0.7944 GB, free: 9.844 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005556/1.027, allocations: 0.9242 MB / 0.7953 GB, free: 9.133 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001006/1.028, allocations: 184.9 kB / 0.7955 GB, free: 9.074 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005027/1.029, allocations: 313.7 kB / 0.7958 GB, free: 9.062 MB / 0.573 GB Notification: Performance of SimCode: time 1.513e-06/1.029, allocations: 4 kB / 0.7958 GB, free: 9.059 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04834/1.077, allocations: 24.8 MB / 0.82 GB, free: 1.215 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002981/1.077, allocations: 277.2 kB / 0.8203 GB, free: 0.8633 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.994/4.072, allocations: 0 / 0.8203 GB, free: 0.8633 MB / 0.573 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat does not exist to compare? outputFormat=mat