Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 113.9 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002326/0.002326, allocations: 190.8 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.687/1.687, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7544/0.7544, allocations: 94.61 MB / 399.1 MB, free: 15.73 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.004088/0.004088, allocations: 91.84 kB / 0.5444 GB, free: 12.55 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5608/0.5649, allocations: 71.84 MB / 0.6145 GB, free: 3.832 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.2901/0.855, allocations: 190.2 MB / 0.8002 GB, free: 6.199 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01665/0.8717, allocations: 7.415 MB / 0.8075 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001883/0.8736, allocations: 31.81 kB / 0.8075 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.8752, allocations: 385.4 kB / 0.8079 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005498/0.8807, allocations: 1.316 MB / 0.8092 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002541/0.8833, allocations: 0.6772 MB / 0.8098 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005136/0.8884, allocations: 2.426 MB / 0.8122 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003499/0.8888, allocations: 135.8 kB / 0.8123 GB, free: 9.77 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003355/0.8921, allocations: 1.672 MB / 0.814 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001066/0.8932, allocations: 0.5953 MB / 0.8145 GB, free: 7.496 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 9.925e-05/0.8933, allocations: 56 kB / 0.8146 GB, free: 7.441 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003608/0.8969, allocations: 1.17 MB / 0.8157 GB, free: 6.27 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002024/0.8971, allocations: 155.2 kB / 0.8159 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006281/0.8977, allocations: 401.7 kB / 0.8163 GB, free: 5.723 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003284/0.901, allocations: 1.503 MB / 0.8177 GB, free: 4.215 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.901, allocations: 0 / 0.8177 GB, free: 4.215 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.984e-06/0.901, allocations: 0 / 0.8177 GB, free: 4.215 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.246e-05/0.901, allocations: 0 / 0.8177 GB, free: 4.215 MB / 0.6387 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.003844/0.9049, allocations: 1.41 MB / 0.8191 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.9049, allocations: 8.031 kB / 0.8191 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001224/0.905, allocations: 86.52 kB / 0.8192 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.9062, allocations: 171.3 kB / 0.8194 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.9075, allocations: 0.6748 MB / 0.82 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.184e-05/0.9075, allocations: 37 kB / 0.8201 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002847/0.9078, allocations: 48 kB / 0.8201 GB, free: 1.668 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.9093, allocations: 0.5896 MB / 0.8207 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/0.9093, allocations: 4 kB / 0.8207 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.005e-05/0.9094, allocations: 19.98 kB / 0.8207 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.568e-05/0.9094, allocations: 15.94 kB / 0.8207 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.9108, allocations: 464.1 kB / 0.8212 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004689/0.9155, allocations: 2.685 MB / 0.8238 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.9168, allocations: 424.9 kB / 0.8242 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000697/0.9175, allocations: 221.6 kB / 0.8244 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003931/0.9179, allocations: 275.2 kB / 0.8247 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009884/0.9189, allocations: 394.4 kB / 0.825 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=54): time 2.535e-06/0.9189, allocations: 0 / 0.825 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=54): time 0.003121/0.922, allocations: 1.038 MB / 0.8261 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/0.9222, allocations: 85.09 kB / 0.8261 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009154/0.9231, allocations: 0.5982 MB / 0.8267 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.334e-05/0.9232, allocations: 33.7 kB / 0.8267 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003986/0.9236, allocations: 353.2 kB / 0.8271 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002265/0.9238, allocations: 190.4 kB / 0.8273 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002725/0.9241, allocations: 146.2 kB / 0.8274 GB, free: 9.734 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.9242, allocations: 326 kB / 0.8277 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005639/0.9248, allocations: 193 kB / 0.8279 GB, free: 9.223 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007292/0.9255, allocations: 262.6 kB / 0.8282 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.9268, allocations: 0.5159 MB / 0.8287 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.9268, allocations: 0 / 0.8287 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002092/0.9289, allocations: 0.787 MB / 0.8294 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.143e-05/0.9289, allocations: 59.41 kB / 0.8295 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.69e-05/0.929, allocations: 11.98 kB / 0.8295 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005121/0.9295, allocations: 85.73 kB / 0.8296 GB, free: 7.414 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004905/0.93, allocations: 119.9 kB / 0.8297 GB, free: 7.297 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003364/0.9333, allocations: 3.059 MB / 0.8327 GB, free: 3.957 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005519/0.9339, allocations: 59.64 kB / 0.8327 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.934, allocations: 63.98 kB / 0.8328 GB, free: 3.836 MB / 0.6544 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 (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 (60): * Single equations (assignments): 52 * 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.000555/0.9345, allocations: 193.6 kB / 0.833 GB, free: 3.637 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.9347, allocations: 79.42 kB / 0.8331 GB, free: 3.559 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003163/0.9379, allocations: 1.291 MB / 0.8343 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.9379, allocations: 8 kB / 0.8343 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.9379, allocations: 11.94 kB / 0.8343 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.9379, allocations: 3.984 kB / 0.8343 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003652/0.9415, allocations: 1.583 MB / 0.8359 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.592e-05/0.9416, allocations: 19.98 kB / 0.8359 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006642/0.9422, allocations: 119.8 kB / 0.836 GB, free: 444 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003071/0.9426, allocations: 89.64 kB / 0.8361 GB, free: 348 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.646e-05/0.9426, allocations: 35.98 kB / 0.8361 GB, free: 312 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003109/0.9457, allocations: 3.051 MB / 0.8391 GB, free: 12.97 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.9457, allocations: 0 / 0.8391 GB, free: 12.97 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002795/0.9485, allocations: 1.127 MB / 0.8402 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004266/0.949, allocations: 224.7 kB / 0.8404 GB, free: 11.58 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-05/0.9491, allocations: 12 kB / 0.8404 GB, free: 11.57 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005842/0.9496, allocations: 35.97 kB / 0.8405 GB, free: 11.53 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002441/0.9499, allocations: 99.75 kB / 0.8406 GB, free: 11.43 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/0.95, allocations: 67.91 kB / 0.8406 GB, free: 11.37 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006875/0.9507, allocations: 423 kB / 0.841 GB, free: 10.96 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.9507, allocations: 0 / 0.841 GB, free: 10.96 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001274/0.952, allocations: 303.4 kB / 0.8413 GB, free: 10.66 MB / 0.67 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 (54): * Single equations (assignments): 44 * 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.003979/0.9559, allocations: 1.996 MB / 0.8433 GB, free: 8.641 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002388/0.9583, allocations: 0.9595 MB / 0.8442 GB, free: 7.605 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.9583, allocations: 0 / 0.8442 GB, free: 7.605 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.9597, allocations: 0.6446 MB / 0.8448 GB, free: 6.91 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/0.9612, allocations: 214.1 kB / 0.8451 GB, free: 6.703 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/0.9745, allocations: 6.112 MB / 0.851 GB, free: 436 kB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006547/0.9752, allocations: 0.9309 MB / 0.8519 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001335/0.9765, allocations: 0.6791 MB / 0.8526 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007282/0.9772, allocations: 359.3 kB / 0.8529 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of SimCode: time 1.784e-06/0.9772, allocations: 0 / 0.8529 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4846/1.462, allocations: 23.32 MB / 0.8757 GB, free: 233.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/14.58, allocations: 3.672 kB / 0.8757 GB, free: 233.1 MB / 0.6856 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Processes_Tests_TransportDelay_fmu --startTime=0 --stopTime=2.5 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Processes_Tests_TransportDelay.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 23.756539947004057] Failed to read output from testmodel.py, exit status != 0: 14.686670313996729 14.705990951 13.800796627 Calling exit ...