Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.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.001117/0.001117, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001727/0.001727, allocations: 165.9 kB / 22.45 MB, free: 2.105 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 0.9067/0.9067, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.5048/0.5048, allocations: 80.17 MB / 339.4 MB, free: 7.539 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.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.4924 GB, free: 6.645 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.777e-05/1.999e-05, allocations: 2.281 kB / 0.4924 GB, free: 6.641 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.5681/0.5681, allocations: 168.7 MB / 0.6571 GB, free: 4.281 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.00466/0.5727, allocations: 2.956 MB / 0.66 GB, free: 4.273 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004355/0.5732, allocations: 47.78 kB / 0.6601 GB, free: 4.273 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0009681/0.5741, allocations: 353.4 kB / 0.6604 GB, free: 4.266 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.003183/0.5773, allocations: 1.443 MB / 0.6618 GB, free: 4.223 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.579, allocations: 0.6862 MB / 0.6625 GB, free: 4.207 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.003377/0.5824, allocations: 2.71 MB / 0.6651 GB, free: 3.996 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002522/0.5826, allocations: 136.7 kB / 0.6652 GB, free: 3.953 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002716/0.5854, allocations: 1.999 MB / 0.6672 GB, free: 3.84 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007139/0.5861, allocations: 0.5339 MB / 0.6677 GB, free: 3.785 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 7.989e-05/0.5861, allocations: 56.38 kB / 0.6678 GB, free: 3.785 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001516/0.5877, allocations: 0.9937 MB / 0.6687 GB, free: 3.742 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.5878, allocations: 161.3 kB / 0.6689 GB, free: 3.699 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.588, allocations: 283.2 kB / 0.6692 GB, free: 3.66 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001443/0.5894, allocations: 1.599 MB / 0.6707 GB, free: 3.488 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.5894, allocations: 4.344 kB / 0.6707 GB, free: 3.488 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.264e-06/0.5894, allocations: 0 / 0.6707 GB, free: 3.488 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.5894, allocations: 0 / 0.6707 GB, free: 3.488 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002029/0.5915, allocations: 1.355 MB / 0.6721 GB, free: 2.73 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001112/0.5916, allocations: 12.09 kB / 0.6721 GB, free: 2.73 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001122/0.5917, allocations: 90.05 kB / 0.6722 GB, free: 2.688 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005671/0.5923, allocations: 190.1 kB / 0.6723 GB, free: 2.633 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006985/0.593, allocations: 0.6017 MB / 0.6729 GB, free: 2.375 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.593, allocations: 40.03 kB / 0.673 GB, free: 2.375 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.005e-05/0.5931, allocations: 51.58 kB / 0.673 GB, free: 2.371 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007132/0.5938, allocations: 0.6085 MB / 0.6736 GB, free: 2.277 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.5938, allocations: 3.094 kB / 0.6736 GB, free: 2.277 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.065e-05/0.5938, allocations: 19.62 kB / 0.6736 GB, free: 2.277 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.5938, allocations: 11.47 kB / 0.6736 GB, free: 2.277 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006288/0.5945, allocations: 465.8 kB / 0.6741 GB, free: 2.27 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002057/0.5965, allocations: 1.976 MB / 0.676 GB, free: 1.461 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006406/0.5972, allocations: 466.5 kB / 0.6765 GB, free: 1.398 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002766/0.5974, allocations: 218 kB / 0.6767 GB, free: 1.383 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001501/0.5976, allocations: 35.81 kB / 0.6767 GB, free: 1.383 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005276/0.5981, allocations: 388.6 kB / 0.6771 GB, free: 1.316 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=54): time 1.613e-06/0.5981, allocations: 1.062 kB / 0.6771 GB, free: 1.316 MB / 0.5417 GB Notification: Performance of matching and sorting (n=54): time 0.001325/0.5994, allocations: 0.8796 MB / 0.6779 GB, free: 1.207 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.5995, allocations: 82.36 kB / 0.678 GB, free: 1.113 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004245/0.5999, allocations: 0.6231 MB / 0.6786 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/0.5999, allocations: 41.3 kB / 0.6787 GB, free: 0.9531 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.6001, allocations: 369.5 kB / 0.679 GB, free: 0.8086 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.267e-05/0.6002, allocations: 188.7 kB / 0.6792 GB, free: 0.6836 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.6003, allocations: 136 kB / 0.6793 GB, free: 0.668 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 3.685e-05/0.6003, allocations: 330.7 kB / 0.6796 GB, free: 368 kB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002938/0.6006, allocations: 253.7 kB / 0.6799 GB, free: 300 kB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003296/0.601, allocations: 332.5 kB / 0.6802 GB, free: 164 kB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006162/0.6016, allocations: 0.5138 MB / 0.6807 GB, free: 32 kB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.6016, allocations: 0 / 0.6807 GB, free: 32 kB / 0.5417 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00102/0.6026, allocations: 0.842 MB / 0.6815 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.973e-05/0.6027, allocations: 60.45 kB / 0.6816 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/0.6027, allocations: 16.77 kB / 0.6816 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002255/0.6029, allocations: 88.55 kB / 0.6817 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.6032, allocations: 126.9 kB / 0.6818 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/0.6053, allocations: 2.831 MB / 0.6846 GB, free: 13.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.6055, allocations: 68.47 kB / 0.6846 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-05/0.6056, allocations: 65.89 kB / 0.6847 GB, free: 13.24 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (sawTooth.count,$PRE.sawTooth.count,sawTooth.T_start,$PRE.sawTooth.T_start,$whenCondition2,sawTooth1.count,$PRE.sawTooth1.count,sawTooth1.T_start,$PRE.sawTooth1.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 54 * 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.0002244/0.6058, allocations: 193.7 kB / 0.6849 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.706e-05/0.6059, allocations: 83.41 kB / 0.685 GB, free: 13.08 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.6075, allocations: 1.282 MB / 0.6862 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.6075, allocations: 5.469 kB / 0.6862 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6075, allocations: 7.406 kB / 0.6862 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.6075, allocations: 4 kB / 0.6862 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001917/0.6094, allocations: 1.445 MB / 0.6876 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.902e-05/0.6095, allocations: 14.66 kB / 0.6876 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/0.6097, allocations: 115.3 kB / 0.6878 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001865/0.6099, allocations: 84.81 kB / 0.6878 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.024e-05/0.61, allocations: 31.8 kB / 0.6879 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001792/0.6117, allocations: 2.839 MB / 0.6906 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6117, allocations: 4.438 kB / 0.6906 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.6131, allocations: 1.107 MB / 0.6917 GB, free: 9.758 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/0.6133, allocations: 146.7 kB / 0.6919 GB, free: 9.703 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.03e-05/0.6133, allocations: 22.41 kB / 0.6919 GB, free: 9.699 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.6136, allocations: 33.42 kB / 0.6919 GB, free: 9.699 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/0.6138, allocations: 91.27 kB / 0.692 GB, free: 9.695 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.696e-05/0.6139, allocations: 63.44 kB / 0.6921 GB, free: 9.695 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004434/0.6143, allocations: 435.3 kB / 0.6925 GB, free: 9.605 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.6143, allocations: 7.688 kB / 0.6925 GB, free: 9.605 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009807/0.6153, allocations: 295.2 kB / 0.6928 GB, free: 9.574 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 (52): * Single equations (assignments): 42 * 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.002333/0.6176, allocations: 1.936 MB / 0.6947 GB, free: 8.707 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001341/0.619, allocations: 1.002 MB / 0.6956 GB, free: 8.164 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.619, allocations: 0 / 0.6956 GB, free: 8.164 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006885/0.6197, allocations: 0.632 MB / 0.6963 GB, free: 7.812 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.6207, allocations: 329.3 kB / 0.6966 GB, free: 7.758 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007179/0.6279, allocations: 6.227 MB / 0.7026 GB, free: 5.227 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.6283, allocations: 351 kB / 0.703 GB, free: 5.117 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001015/0.6293, allocations: 0.6758 MB / 0.7036 GB, free: 5.02 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004561/0.6297, allocations: 368.7 kB / 0.704 GB, free: 4.996 MB / 0.5573 GB Notification: Performance of SimCode: time 1.062e-06/0.6297, allocations: 0 / 0.704 GB, free: 4.996 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04689/0.6766, allocations: 26.99 MB / 0.7304 GB, free: 6.027 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.775/10.45, allocations: 2.344 kB / 0.7304 GB, free: 6.027 MB / 0.573 GB " [Timeout remaining time 649] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.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_Processes_Tests_TransportDelay.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 13.002299115993083] Failed to read output from testmodel.py, exit status != 0: 10.552211268804967 10.564170602 9.971514506 Calling exit ...