Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.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.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_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.004739/0.004739, allocations: 167 kB / 15.13 MB, free: 6.02 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.458/1.458, allocations: 205.4 MB / 221.3 MB, free: 13.8 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.000762/0.000762, allocations: 86.3 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.7306/0.7306, 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.0003478/0.0003479, allocations: 11.98 kB / 485.4 MB, free: 1.949 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3823, allocations: 66.27 MB / 0.5387 GB, free: 45.07 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.1983/0.5807, allocations: 179.7 MB / 0.7142 GB, free: 7.684 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01068/0.5914, allocations: 9.752 MB / 0.7237 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006317/0.5921, allocations: 7.938 kB / 0.7237 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0009592/0.5931, allocations: 302.2 kB / 0.724 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.00393/0.597, allocations: 1.22 MB / 0.7252 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.003317/0.6003, allocations: 1.065 MB / 0.7263 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.003901/0.6042, allocations: 2.292 MB / 0.7285 GB, free: 9.039 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004155/0.6047, allocations: 125.4 kB / 0.7286 GB, free: 8.914 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002847/0.6075, allocations: 1.469 MB / 0.7301 GB, free: 7.441 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009993/0.6086, allocations: 0.5021 MB / 0.7305 GB, free: 6.938 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.000157/0.6087, allocations: 28 kB / 0.7306 GB, free: 6.91 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004075/0.6128, allocations: 1.63 MB / 0.7322 GB, free: 5.277 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001785/0.613, allocations: 103.5 kB / 0.7323 GB, free: 5.176 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0002502/0.6133, allocations: 137.4 kB / 0.7324 GB, free: 5.035 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.002319/0.6156, allocations: 1.255 MB / 0.7336 GB, free: 3.777 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.6156, allocations: 0 / 0.7336 GB, free: 3.777 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.975e-06/0.6156, allocations: 0 / 0.7336 GB, free: 3.777 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.162e-05/0.6157, allocations: 3.938 kB / 0.7336 GB, free: 3.773 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.002969/0.6186, allocations: 1.232 MB / 0.7348 GB, free: 2.48 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.6187, allocations: 8.031 kB / 0.7348 GB, free: 2.473 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001572/0.6188, allocations: 87.08 kB / 0.7349 GB, free: 2.379 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009464/0.6198, allocations: 131.1 kB / 0.735 GB, free: 2.25 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007051/0.6205, allocations: 428.8 kB / 0.7355 GB, free: 1.789 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.6206, allocations: 33 kB / 0.7355 GB, free: 1.758 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.6207, allocations: 51.91 kB / 0.7355 GB, free: 1.707 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.6218, allocations: 0.6084 MB / 0.7361 GB, free: 1.086 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.6219, allocations: 0 / 0.7361 GB, free: 1.086 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.338e-05/0.6219, allocations: 19.98 kB / 0.7361 GB, free: 1.066 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.622, allocations: 16 kB / 0.7362 GB, free: 1.051 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.6231, allocations: 0.4885 MB / 0.7366 GB, free: 0.5625 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003521/0.6267, allocations: 2.548 MB / 0.7391 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.6278, allocations: 0.4943 MB / 0.7396 GB, free: 13.26 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005557/0.6283, allocations: 274.5 kB / 0.7399 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001386/0.6297, allocations: 1.422 MB / 0.7413 GB, free: 11.34 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008112/0.6305, allocations: 443.9 kB / 0.7417 GB, free: 10.89 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=58): time 4.608e-06/0.6306, allocations: 3.984 kB / 0.7417 GB, free: 10.89 MB / 0.5573 GB Notification: Performance of matching and sorting (n=58): time 0.002702/0.6333, allocations: 1.119 MB / 0.7428 GB, free: 9.723 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.6333, allocations: 85.11 kB / 0.7429 GB, free: 9.621 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004508/0.6338, allocations: 382 kB / 0.7432 GB, free: 9.242 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.713e-05/0.6339, allocations: 41.7 kB / 0.7433 GB, free: 9.195 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/0.6341, allocations: 253 kB / 0.7435 GB, free: 8.941 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/0.6343, allocations: 201.1 kB / 0.7437 GB, free: 8.742 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/0.6343, allocations: 12 kB / 0.7437 GB, free: 8.73 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.6345, allocations: 362.8 kB / 0.7441 GB, free: 8.367 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005596/0.635, allocations: 229.1 kB / 0.7443 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005729/0.6356, allocations: 295.2 kB / 0.7446 GB, free: 7.828 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006133/0.6363, allocations: 304.6 kB / 0.7448 GB, free: 7.52 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.6363, allocations: 0 / 0.7448 GB, free: 7.52 MB / 0.5573 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001682/0.638, allocations: 0.8217 MB / 0.7456 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.643e-05/0.638, allocations: 67.39 kB / 0.7457 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-05/0.6381, allocations: 15.94 kB / 0.7457 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000366/0.6384, allocations: 83.09 kB / 0.7458 GB, free: 6.492 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004671/0.6389, allocations: 127.9 kB / 0.7459 GB, free: 6.367 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/0.6411, allocations: 2.833 MB / 0.7487 GB, free: 3.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005416/0.6416, allocations: 71.66 kB / 0.7488 GB, free: 3.199 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.6417, allocations: 71.98 kB / 0.7488 GB, free: 3.129 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.sawTooth.T_start,sawTooth.T_start,$PRE.sawTooth.count,sawTooth.count,$whenCondition1,$PRE.sawTooth1.T_start,sawTooth1.T_start,$PRE.sawTooth1.count,sawTooth1.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 6 * 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.0002831/0.642, allocations: 189.4 kB / 0.749 GB, free: 2.934 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.6422, allocations: 59.3 kB / 0.7491 GB, free: 2.875 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002515/0.6447, allocations: 0.9907 MB / 0.75 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.6447, allocations: 9.688 kB / 0.75 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.6447, allocations: 0 / 0.75 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.6447, allocations: 3.984 kB / 0.75 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00277/0.6475, allocations: 1.648 MB / 0.7517 GB, free: 156 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.389e-05/0.6475, allocations: 11.98 kB / 0.7517 GB, free: 144 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004519/0.648, allocations: 123.8 kB / 0.7518 GB, free: 20 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2488/0.8969, allocations: 75.64 kB / 0.7519 GB, free: 181.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002715/0.8972, allocations: 42.81 kB / 0.7519 GB, free: 181.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001958/0.8991, allocations: 2.833 MB / 0.7547 GB, free: 179.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.8992, allocations: 3.75 kB / 0.7547 GB, free: 179.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002312/0.9015, allocations: 1.217 MB / 0.7559 GB, free: 179.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002851/0.9018, allocations: 208.7 kB / 0.7561 GB, free: 179.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.275e-05/0.9019, allocations: 15.88 kB / 0.7561 GB, free: 179.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004934/0.9024, allocations: 51.19 kB / 0.7561 GB, free: 179.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/0.9026, allocations: 99.84 kB / 0.7562 GB, free: 179.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.794e-05/0.9027, allocations: 69.05 kB / 0.7563 GB, free: 179.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002684/0.903, allocations: 265.8 kB / 0.7565 GB, free: 179 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3e-07/0.903, allocations: 2.812 kB / 0.7565 GB, free: 179 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001386/0.9044, allocations: 479.9 kB / 0.757 GB, free: 179 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.inlet.m_flow,transportDelay.x,flowResistance.inlet.m_flow) * Number of discrete variables: 6 ($whenCondition1,sawTooth1.T_start,sawTooth1.count,$whenCondition2,sawTooth.T_start,sawTooth.count) * Number of discrete states: 2 (sawTooth.count,sawTooth1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.003507/0.9079, allocations: 2.404 MB / 0.7593 GB, free: 178.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001708/0.9096, allocations: 1.121 MB / 0.7604 GB, free: 177.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.9096, allocations: 0 / 0.7604 GB, free: 177.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009478/0.9106, allocations: 0.7581 MB / 0.7612 GB, free: 177.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009312/0.9115, allocations: 166.4 kB / 0.7613 GB, free: 177.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006036/0.9176, allocations: 3.812 MB / 0.7651 GB, free: 176 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.9179, allocations: 0.8806 MB / 0.7659 GB, free: 175.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008957/0.9188, allocations: 191.8 kB / 0.7661 GB, free: 175.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004181/0.9192, allocations: 259 kB / 0.7664 GB, free: 175.2 MB / 0.5573 GB Notification: Performance of SimCode: time 8.21e-07/0.9192, allocations: 0 / 0.7664 GB, free: 175.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0497/0.9689, allocations: 24.03 MB / 0.7898 GB, free: 169.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/0.9691, allocations: 263 kB / 0.7901 GB, free: 169.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.756/3.726, allocations: 1.062 kB / 0.7901 GB, free: 169.4 MB / 0.5573 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_fmu --startTime=0 --stopTime=2.5 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1)