Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.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.Undirected.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay",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.005327/0.005327, allocations: 167.8 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.422/1.422, 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.0007804/0.0007804, allocations: 90.23 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.6696/0.6696, allocations: 90.6 MB / 408.5 MB, free: 14.99 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004257/0.0004257, allocations: 8 kB / 485.3 MB, free: 1.98 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3143, allocations: 66.28 MB / 0.5387 GB, free: 45.01 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.1748/0.4891, allocations: 183.1 MB / 0.7175 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.008447/0.4976, allocations: 7.737 MB / 0.7251 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006839/0.4983, allocations: 11.94 kB / 0.7251 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0008288/0.4992, allocations: 330 kB / 0.7254 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.003161/0.5023, allocations: 1.351 MB / 0.7267 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.003208/0.5056, allocations: 1.324 MB / 0.728 GB, free: 9.586 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.003103/0.5087, allocations: 2.678 MB / 0.7306 GB, free: 6.902 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002548/0.5089, allocations: 166.5 kB / 0.7308 GB, free: 6.73 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002371/0.5113, allocations: 1.664 MB / 0.7324 GB, free: 5.062 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006833/0.512, allocations: 0.6228 MB / 0.733 GB, free: 4.438 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 7.694e-05/0.5121, allocations: 39.98 kB / 0.733 GB, free: 4.398 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00341/0.5155, allocations: 1.856 MB / 0.7349 GB, free: 2.539 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.5157, allocations: 135.4 kB / 0.735 GB, free: 2.406 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.5158, allocations: 177.3 kB / 0.7352 GB, free: 2.227 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001685/0.5175, allocations: 1.524 MB / 0.7366 GB, free: 0.6992 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.5175, allocations: 4 kB / 0.7366 GB, free: 0.6953 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5175, allocations: 0 / 0.7366 GB, free: 0.6953 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.5176, allocations: 0 / 0.7366 GB, free: 0.6953 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002972/0.5205, allocations: 1.484 MB / 0.7381 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.5206, allocations: 16.03 kB / 0.7381 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001132/0.5207, allocations: 102.5 kB / 0.7382 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009917/0.5217, allocations: 170.8 kB / 0.7384 GB, free: 14.85 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000602/0.5223, allocations: 492.4 kB / 0.7388 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.19e-05/0.5224, allocations: 76.56 kB / 0.7389 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.5225, allocations: 63.98 kB / 0.739 GB, free: 14.19 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.5241, allocations: 0.8404 MB / 0.7398 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.5241, allocations: 0 / 0.7398 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.296e-05/0.5242, allocations: 20 kB / 0.7398 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/0.5242, allocations: 23.98 kB / 0.7398 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/0.526, allocations: 0.7673 MB / 0.7406 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004305/0.5304, allocations: 3.626 MB / 0.7441 GB, free: 8.555 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/0.5322, allocations: 0.8196 MB / 0.7449 GB, free: 7.719 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009131/0.5331, allocations: 418.9 kB / 0.7453 GB, free: 7.305 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001869/0.535, allocations: 1.674 MB / 0.747 GB, free: 5.371 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001115/0.5361, allocations: 0.5892 MB / 0.7475 GB, free: 4.766 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=76): time 3.306e-06/0.5362, allocations: 0 / 0.7475 GB, free: 4.766 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76): time 0.003549/0.5397, allocations: 1.565 MB / 0.7491 GB, free: 3.156 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.5398, allocations: 97.03 kB / 0.7492 GB, free: 3.043 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004505/0.5402, allocations: 462.8 kB / 0.7496 GB, free: 2.582 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.021e-05/0.5403, allocations: 41.7 kB / 0.7496 GB, free: 2.535 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.5405, allocations: 304.5 kB / 0.7499 GB, free: 2.23 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.5407, allocations: 252.3 kB / 0.7502 GB, free: 1.98 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.282e-05/0.5408, allocations: 16 kB / 0.7502 GB, free: 1.965 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.5409, allocations: 370.8 kB / 0.7505 GB, free: 1.594 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008802/0.5418, allocations: 365.8 kB / 0.7509 GB, free: 1.238 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008942/0.5427, allocations: 453.9 kB / 0.7513 GB, free: 0.7656 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009114/0.5436, allocations: 445.1 kB / 0.7517 GB, free: 324 kB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.5436, allocations: 0 / 0.7517 GB, free: 324 kB / 0.5573 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.2377/0.7813, allocations: 1.13 MB / 0.7528 GB, free: 75.35 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.284e-05/0.7814, allocations: 61.19 kB / 0.7529 GB, free: 75.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.171e-05/0.7814, allocations: 12.62 kB / 0.7529 GB, free: 75.29 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003382/0.7818, allocations: 91.55 kB / 0.753 GB, free: 75.27 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006793/0.7825, allocations: 194.2 kB / 0.7532 GB, free: 75.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/0.7841, allocations: 2.851 MB / 0.756 GB, free: 72.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006959/0.7848, allocations: 116.5 kB / 0.7561 GB, free: 72.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.7849, allocations: 95.52 kB / 0.7562 GB, free: 72.79 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002847/0.7852, allocations: 195.5 kB / 0.7564 GB, free: 72.68 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.659e-05/0.7853, allocations: 68.03 kB / 0.7564 GB, free: 72.67 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003307/0.7886, allocations: 1.397 MB / 0.7578 GB, free: 72.58 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.7886, allocations: 12.83 kB / 0.7578 GB, free: 72.58 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.7886, allocations: 2.375 kB / 0.7578 GB, free: 72.58 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.7887, allocations: 5.156 kB / 0.7578 GB, free: 72.58 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003439/0.7921, allocations: 2.142 MB / 0.7599 GB, free: 72.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.107e-05/0.7921, allocations: 16.34 kB / 0.7599 GB, free: 72.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006758/0.7928, allocations: 184.5 kB / 0.7601 GB, free: 72.16 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002461/0.7931, allocations: 88.47 kB / 0.7602 GB, free: 72.14 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.691e-05/0.7932, allocations: 45.02 kB / 0.7602 GB, free: 72.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001543/0.7947, allocations: 2.853 MB / 0.763 GB, free: 69.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.7947, allocations: 0 / 0.763 GB, free: 69.62 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003298/0.798, allocations: 1.693 MB / 0.7647 GB, free: 69.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003488/0.7984, allocations: 259.9 kB / 0.7649 GB, free: 69.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.7985, allocations: 17.78 kB / 0.7649 GB, free: 69.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000641/0.7992, allocations: 86.02 kB / 0.765 GB, free: 69.16 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002172/0.7994, allocations: 119.2 kB / 0.7651 GB, free: 69.15 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/0.7995, allocations: 90.62 kB / 0.7652 GB, free: 69.15 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003002/0.7998, allocations: 319.8 kB / 0.7655 GB, free: 69.06 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7998, allocations: 1.688 kB / 0.7655 GB, free: 69.06 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001572/0.8014, allocations: 0.5508 MB / 0.7661 GB, free: 69.04 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (transportDelay1.x,flowResistance1.rear.m_flow,transportDelay.x,flowResistance.inlet.m_flow) * Number of discrete variables: 6 ($whenCondition1,trapezoid1.T_start,trapezoid1.count,$whenCondition2,trapezoid.T_start,trapezoid.count) * Number of discrete states: 2 (trapezoid.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.004981/0.8064, allocations: 2.957 MB / 0.7689 GB, free: 68.12 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002527/0.8089, allocations: 1.441 MB / 0.7703 GB, free: 67.54 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.8089, allocations: 0 / 0.7703 GB, free: 67.54 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001449/0.8104, allocations: 0.955 MB / 0.7713 GB, free: 67.08 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.8115, allocations: 216.1 kB / 0.7715 GB, free: 67.07 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008322/0.8199, allocations: 4.92 MB / 0.7763 GB, free: 65.48 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.8203, allocations: 0.936 MB / 0.7772 GB, free: 64.77 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001339/0.8216, allocations: 285.8 kB / 0.7775 GB, free: 64.67 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006606/0.8223, allocations: 350.8 kB / 0.7778 GB, free: 64.65 MB / 0.5573 GB Notification: Performance of SimCode: time 5.31e-07/0.8223, allocations: 0 / 0.7778 GB, free: 64.65 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04463/0.867, allocations: 29.04 MB / 0.8062 GB, free: 51.29 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/0.8672, allocations: 279.9 kB / 0.8064 GB, free: 50.93 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.83/3.698, allocations: 0 / 0.8064 GB, free: 50.93 MB / 0.5573 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_fmu --startTime=0 --stopTime=2.5 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay_res.mat does not exist to compare? outputFormat=mat