Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002003/0.002003, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001965/0.001965, allocations: 165.9 kB / 22.46 MB, free: 2.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.273/1.273, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.7253/0.7253, allocations: 80.18 MB / 339.4 MB, free: 7.543 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.925e-06/2.925e-06, allocations: 0 / 0.4924 GB, free: 6.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.802e-05/4.095e-05, allocations: 2.281 kB / 0.4924 GB, free: 6.656 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.6801/0.6802, allocations: 169.7 MB / 0.6581 GB, free: 4.281 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.008857/0.689, allocations: 3.318 MB / 0.6614 GB, free: 4.273 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001883/0.6909, allocations: 49.06 kB / 0.6614 GB, free: 4.273 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.002183/0.6931, allocations: 393.5 kB / 0.6618 GB, free: 4.262 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.008431/0.7015, allocations: 1.597 MB / 0.6633 GB, free: 4.215 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.004431/0.706, allocations: 0.8512 MB / 0.6642 GB, free: 4.195 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.008591/0.7146, allocations: 3.047 MB / 0.6672 GB, free: 3.82 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007657/0.7153, allocations: 150 kB / 0.6673 GB, free: 3.777 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007644/0.723, allocations: 2.294 MB / 0.6695 GB, free: 3.633 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00198/0.7249, allocations: 0.6267 MB / 0.6701 GB, free: 3.578 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0003768/0.7253, allocations: 73.94 kB / 0.6702 GB, free: 3.578 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004649/0.73, allocations: 1.066 MB / 0.6713 GB, free: 3.523 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002671/0.7302, allocations: 198.9 kB / 0.6714 GB, free: 3.477 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0009662/0.7312, allocations: 356.1 kB / 0.6718 GB, free: 3.43 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.006122/0.7373, allocations: 1.854 MB / 0.6736 GB, free: 3.234 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.072e-05/0.7373, allocations: 0.9062 kB / 0.6736 GB, free: 3.234 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.138e-06/0.7373, allocations: 0 / 0.6736 GB, free: 3.234 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.837e-05/0.7374, allocations: 0 / 0.6736 GB, free: 3.234 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.004837/0.7422, allocations: 1.542 MB / 0.6751 GB, free: 2.426 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001066/0.7423, allocations: 12.62 kB / 0.6751 GB, free: 2.426 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000145/0.7425, allocations: 107.9 kB / 0.6752 GB, free: 2.387 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009853/0.7435, allocations: 214.5 kB / 0.6754 GB, free: 2.32 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001704/0.7452, allocations: 0.6571 MB / 0.6761 GB, free: 2.051 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/0.7453, allocations: 104 kB / 0.6762 GB, free: 1.988 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.7454, allocations: 63.69 kB / 0.6762 GB, free: 1.988 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.7471, allocations: 0.8094 MB / 0.677 GB, free: 1.875 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/0.7471, allocations: 4 kB / 0.677 GB, free: 1.875 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.085e-05/0.7472, allocations: 22.59 kB / 0.677 GB, free: 1.875 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/0.7472, allocations: 16.84 kB / 0.6771 GB, free: 1.875 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001381/0.7486, allocations: 0.6865 MB / 0.6777 GB, free: 1.863 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004652/0.7533, allocations: 2.586 MB / 0.6803 GB, free: 0.8242 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.7549, allocations: 0.6666 MB / 0.6809 GB, free: 0.7734 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006028/0.7556, allocations: 318.2 kB / 0.6812 GB, free: 0.7578 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00052/0.7561, allocations: 127.3 kB / 0.6813 GB, free: 0.75 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008757/0.7569, allocations: 0.4998 MB / 0.6818 GB, free: 0.6758 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=69): time 5.971e-06/0.757, allocations: 3.984 kB / 0.6818 GB, free: 0.6719 MB / 0.5417 GB Notification: Performance of matching and sorting (n=69): time 0.002891/0.7598, allocations: 1.201 MB / 0.683 GB, free: 0.543 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.466e-05/0.7599, allocations: 83.8 kB / 0.6831 GB, free: 460 kB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007975/0.7607, allocations: 0.6801 MB / 0.6837 GB, free: 324 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.819e-05/0.7608, allocations: 42.45 kB / 0.6838 GB, free: 292 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003773/0.7612, allocations: 403.6 kB / 0.6842 GB, free: 132 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002824/0.7614, allocations: 247.3 kB / 0.6844 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/0.7617, allocations: 169.3 kB / 0.6846 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.7619, allocations: 336.2 kB / 0.6849 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006462/0.7625, allocations: 342.2 kB / 0.6852 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006197/0.7631, allocations: 452.8 kB / 0.6856 GB, free: 15.42 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.7643, allocations: 0.7337 MB / 0.6864 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.405e-05/0.7643, allocations: 3.938 kB / 0.6864 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001947/0.7662, allocations: 1.078 MB / 0.6874 GB, free: 15.01 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.136e-05/0.7663, allocations: 64.91 kB / 0.6875 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.53e-05/0.7663, allocations: 11.89 kB / 0.6875 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003052/0.7666, allocations: 80.52 kB / 0.6876 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004112/0.767, allocations: 187.2 kB / 0.6877 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002642/0.7697, allocations: 2.835 MB / 0.6905 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008166/0.7705, allocations: 103.1 kB / 0.6906 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001731/0.7707, allocations: 83.91 kB / 0.6907 GB, free: 12.45 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition2,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005228/0.7712, allocations: 210.8 kB / 0.6909 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.7714, allocations: 98.05 kB / 0.691 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002909/0.7743, allocations: 1.749 MB / 0.6927 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.7743, allocations: 8.594 kB / 0.6927 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/0.7743, allocations: 4.938 kB / 0.6927 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.7743, allocations: 2.672 kB / 0.6927 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002875/0.7772, allocations: 1.764 MB / 0.6944 GB, free: 11.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.822e-05/0.7772, allocations: 9.062 kB / 0.6944 GB, free: 11.72 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003496/0.7775, allocations: 163.4 kB / 0.6946 GB, free: 11.72 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002465/0.7778, allocations: 85.56 kB / 0.6947 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.035e-05/0.7779, allocations: 39.47 kB / 0.6947 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002065/0.7799, allocations: 2.85 MB / 0.6975 GB, free: 9.238 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.7799, allocations: 0.8438 kB / 0.6975 GB, free: 9.238 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002325/0.7823, allocations: 1.437 MB / 0.6989 GB, free: 8.906 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005625/0.7828, allocations: 165.1 kB / 0.6991 GB, free: 8.848 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.086e-05/0.7829, allocations: 20.45 kB / 0.6991 GB, free: 8.848 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003604/0.7833, allocations: 64.34 kB / 0.6991 GB, free: 8.844 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002679/0.7835, allocations: 108.8 kB / 0.6992 GB, free: 8.84 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/0.7837, allocations: 80.66 kB / 0.6993 GB, free: 8.836 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006502/0.7843, allocations: 477.3 kB / 0.6998 GB, free: 8.746 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.7843, allocations: 0 / 0.6998 GB, free: 8.746 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001428/0.7857, allocations: 352.7 kB / 0.7001 GB, free: 8.707 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (63): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003411/0.7892, allocations: 2.269 MB / 0.7023 GB, free: 7.793 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002388/0.7915, allocations: 1.209 MB / 0.7035 GB, free: 7.246 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/0.7916, allocations: 0 / 0.7035 GB, free: 7.246 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.7926, allocations: 0.7526 MB / 0.7042 GB, free: 6.887 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.7941, allocations: 391.5 kB / 0.7046 GB, free: 6.809 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/0.805, allocations: 7.292 MB / 0.7117 GB, free: 4.125 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.8054, allocations: 384.5 kB / 0.7121 GB, free: 4.004 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002117/0.8075, allocations: 0.9857 MB / 0.7131 GB, free: 3.867 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008795/0.8084, allocations: 447.4 kB / 0.7135 GB, free: 3.844 MB / 0.5573 GB Notification: Performance of SimCode: time 3.136e-06/0.8084, allocations: 4 kB / 0.7135 GB, free: 3.84 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.087/0.8954, allocations: 31.11 MB / 0.7439 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.94, allocations: 3.859 kB / 0.7439 GB, free: 10.8 MB / 0.5886 GB " [Timeout remaining time 647] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay_res.csv --start-time 0 --stop-time 2.5 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0025 ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.fmu > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 16.503008854575455] Failed to read output from testmodel.py, exit status != 0: 13.052496426738799 13.070518866 12.329264029 Calling exit ...