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.006929/0.006929, allocations: 169.5 kB / 15.13 MB, free: 6.023 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.428/1.428, 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.0008098/0.0008098, allocations: 90.3 kB / 269.6 MB, free: 13.26 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.6456/0.6456, allocations: 90.6 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.0003255/0.0003256, allocations: 8 kB / 485.4 MB, free: 1.953 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3564, allocations: 66.27 MB / 0.5387 GB, free: 45.01 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.2325/0.5889, allocations: 205.6 MB / 0.7395 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.3309/0.9198, allocations: 17.39 MB / 0.7565 GB, free: 6.762 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.921, allocations: 22.25 kB / 0.7565 GB, free: 6.762 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.9222, allocations: 454.1 kB / 0.7569 GB, free: 6.758 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003451/0.9256, allocations: 1.4 MB / 0.7583 GB, free: 6.746 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.006449/0.9321, allocations: 2.22 MB / 0.7605 GB, free: 6.723 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002414/0.9345, allocations: 1.481 MB / 0.7619 GB, free: 6.723 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000458/0.935, allocations: 225.3 kB / 0.7621 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002692/0.9377, allocations: 0.9391 MB / 0.7631 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005652/0.9383, allocations: 499.4 kB / 0.7635 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 8.445e-05/0.9384, allocations: 47.62 kB / 0.7636 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.012/0.9504, allocations: 4.968 MB / 0.7684 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005623/0.951, allocations: 168.1 kB / 0.7686 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001174/0.9522, allocations: 204.4 kB / 0.7688 GB, free: 22.59 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.006456/0.9586, allocations: 1.979 MB / 0.7707 GB, free: 22.44 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.9587, allocations: 1.375 kB / 0.7707 GB, free: 22.44 MB / 0.573 GB Notification: Performance of FrontEnd: time 4.028e-06/0.9587, allocations: 1.312 kB / 0.7707 GB, free: 22.44 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.407e-05/0.9587, allocations: 0 / 0.7707 GB, free: 22.44 MB / 0.573 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.005154/0.9639, allocations: 1.6 MB / 0.7723 GB, free: 21.55 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.964, allocations: 9.438 kB / 0.7723 GB, free: 21.55 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001978/0.9642, allocations: 137.1 kB / 0.7724 GB, free: 21.51 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001806/0.966, allocations: 237.4 kB / 0.7727 GB, free: 21.46 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.9671, allocations: 0.5615 MB / 0.7732 GB, free: 21.19 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002435/0.9674, allocations: 198 kB / 0.7734 GB, free: 21.06 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.9675, allocations: 86.09 kB / 0.7735 GB, free: 21.06 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002138/0.9697, allocations: 0.9815 MB / 0.7744 GB, free: 20.95 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.9697, allocations: 0.5938 kB / 0.7744 GB, free: 20.95 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.561e-05/0.9698, allocations: 34.56 kB / 0.7745 GB, free: 20.95 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.094e-05/0.9698, allocations: 21.12 kB / 0.7745 GB, free: 20.95 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001672/0.9715, allocations: 0.7787 MB / 0.7752 GB, free: 20.94 MB / 0.573 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.004719/0.9762, allocations: 3.67 MB / 0.7788 GB, free: 18.96 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00208/0.9783, allocations: 0.9333 MB / 0.7797 GB, free: 18.92 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008794/0.9792, allocations: 456.2 kB / 0.7802 GB, free: 18.91 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002906/0.9821, allocations: 3.107 MB / 0.7832 GB, free: 15.8 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.9822, allocations: 39.69 kB / 0.7832 GB, free: 15.77 MB / 0.573 GB Notification: Performance of pre-optimization done (n=83): time 4.128e-06/0.9822, allocations: 0.7188 kB / 0.7832 GB, free: 15.77 MB / 0.573 GB Notification: Performance of matching and sorting (n=83): time 0.006133/0.9883, allocations: 2.204 MB / 0.7854 GB, free: 15.32 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.9884, allocations: 63.28 kB / 0.7855 GB, free: 15.26 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006806/0.9891, allocations: 490.9 kB / 0.7859 GB, free: 15.15 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.623e-05/0.9892, allocations: 39.61 kB / 0.786 GB, free: 15.12 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.9895, allocations: 382 kB / 0.7863 GB, free: 14.94 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/0.9897, allocations: 286.3 kB / 0.7866 GB, free: 14.75 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-05/0.9898, allocations: 17.78 kB / 0.7866 GB, free: 14.75 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.00022/0.99, allocations: 388 kB / 0.787 GB, free: 14.44 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007727/0.9908, allocations: 347.2 kB / 0.7873 GB, free: 14.43 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007999/0.9916, allocations: 417.6 kB / 0.7877 GB, free: 14.38 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008398/0.9924, allocations: 366.2 kB / 0.7881 GB, free: 14.37 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.9924, allocations: 3.953 kB / 0.7881 GB, free: 14.37 MB / 0.573 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003485/0.9959, allocations: 1.337 MB / 0.7894 GB, free: 14.21 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.996, allocations: 5.594 kB / 0.7894 GB, free: 14.21 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.996, allocations: 1.688 kB / 0.7894 GB, free: 14.21 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008692/0.9969, allocations: 284.4 kB / 0.7897 GB, free: 14.18 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008596/0.9977, allocations: 193.2 kB / 0.7898 GB, free: 14.18 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005168/1.003, allocations: 5.023 MB / 0.7947 GB, free: 10.35 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009067/1.004, allocations: 98.7 kB / 0.7948 GB, free: 10.32 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/1.004, allocations: 62.62 kB / 0.7949 GB, free: 10.31 MB / 0.573 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.0004693/1.004, allocations: 218.4 kB / 0.7951 GB, free: 10.19 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/1.005, allocations: 75.38 kB / 0.7952 GB, free: 10.15 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003901/1.009, allocations: 1.632 MB / 0.7968 GB, free: 9.965 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/1.009, allocations: 9.094 kB / 0.7968 GB, free: 9.965 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/1.009, allocations: 3.562 kB / 0.7968 GB, free: 9.965 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/1.009, allocations: 9.297 kB / 0.7968 GB, free: 9.961 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004695/1.013, allocations: 2.544 MB / 0.7993 GB, free: 9.523 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/1.013, allocations: 4.062 kB / 0.7993 GB, free: 9.52 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009326/1.014, allocations: 204.7 kB / 0.7995 GB, free: 9.52 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007318/1.015, allocations: 281 kB / 0.7997 GB, free: 9.48 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.454e-05/1.015, allocations: 37.31 kB / 0.7998 GB, free: 9.48 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005539/1.021, allocations: 5.021 MB / 0.8047 GB, free: 5.664 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.021, allocations: 4.125 kB / 0.8047 GB, free: 5.66 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004043/1.025, allocations: 1.897 MB / 0.8065 GB, free: 5.375 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005336/1.025, allocations: 244.9 kB / 0.8068 GB, free: 5.23 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/1.025, allocations: 18.66 kB / 0.8068 GB, free: 5.23 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005564/1.026, allocations: 70.98 kB / 0.8069 GB, free: 5.219 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/1.026, allocations: 81.56 kB / 0.8069 GB, free: 5.219 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/1.026, allocations: 62 kB / 0.807 GB, free: 5.219 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004033/1.027, allocations: 341.9 kB / 0.8073 GB, free: 5.133 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.31e-07/1.027, allocations: 0 / 0.8073 GB, free: 5.133 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002605/1.029, allocations: 0.6881 MB / 0.808 GB, free: 5.031 MB / 0.573 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.006667/1.036, allocations: 3.359 MB / 0.8113 GB, free: 4.043 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002698/1.039, allocations: 1.436 MB / 0.8127 GB, free: 3.594 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/1.039, allocations: 2.406 kB / 0.8127 GB, free: 3.594 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001769/1.04, allocations: 1.072 MB / 0.8137 GB, free: 3.164 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/1.042, allocations: 198.4 kB / 0.8139 GB, free: 3.152 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/1.053, allocations: 5.862 MB / 0.8196 GB, free: 0.8594 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006295/1.053, allocations: 0.9997 MB / 0.8206 GB, free: 36 kB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00126/1.055, allocations: 232.7 kB / 0.8208 GB, free: 15.94 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006265/1.055, allocations: 400.1 kB / 0.8212 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of SimCode: time 9.02e-07/1.055, allocations: 4 kB / 0.8212 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05812/1.114, allocations: 31 MB / 0.8515 GB, free: 5.668 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002969/1.114, allocations: 267.1 kB / 0.8518 GB, free: 5.309 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.224/4.338, allocations: 0 / 0.8518 GB, free: 5.309 MB / 0.6042 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