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.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.0008087/0.0008087, 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.001018/0.001018, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9001/0.9001, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6148/0.6148, allocations: 116 MB / 375.2 MB, free: 4.18 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_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 2.164e-06/2.164e-06, allocations: 0 / 0.5533 GB, free: 13.33 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.475e-05, allocations: 6.219 kB / 0.5533 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.4077/0.4078, allocations: 168.7 MB / 0.718 GB, free: 8.543 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.003014/0.4108, allocations: 2.973 MB / 0.721 GB, free: 6.172 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003421/0.4111, allocations: 53.16 kB / 0.721 GB, free: 6.141 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006819/0.4118, allocations: 358.7 kB / 0.7213 GB, free: 5.848 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.002238/0.414, allocations: 1.441 MB / 0.7228 GB, free: 4.727 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.4153, allocations: 0.7146 MB / 0.7234 GB, free: 4.191 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.00233/0.4176, allocations: 2.735 MB / 0.7261 GB, free: 2.617 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002087/0.4178, allocations: 128.7 kB / 0.7262 GB, free: 2.531 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001818/0.4196, allocations: 2.005 MB / 0.7282 GB, free: 1.422 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004496/0.4201, allocations: 0.5276 MB / 0.7287 GB, free: 1.148 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 6.219e-05/0.4202, allocations: 64.88 kB / 0.7288 GB, free: 1.145 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.4213, allocations: 0.9908 MB / 0.7297 GB, free: 0.707 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.4215, allocations: 163.3 kB / 0.7299 GB, free: 0.5703 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.4217, allocations: 290.7 kB / 0.7302 GB, free: 444 kB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.423, allocations: 1.633 MB / 0.7318 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.423, allocations: 0 / 0.7318 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.503e-06/0.423, allocations: 0 / 0.7318 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.423, allocations: 0 / 0.7318 GB, free: 15.46 MB / 0.5886 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.001741/0.4247, allocations: 1.374 MB / 0.7331 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.4247, allocations: 10.88 kB / 0.7331 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.823e-05/0.4248, allocations: 90.42 kB / 0.7332 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005497/0.4254, allocations: 185.8 kB / 0.7334 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007182/0.4261, allocations: 0.6235 MB / 0.734 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.4261, allocations: 41.56 kB / 0.734 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.227e-05/0.4262, allocations: 58.88 kB / 0.7341 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00068/0.4269, allocations: 0.601 MB / 0.7347 GB, free: 13.33 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.4269, allocations: 3.406 kB / 0.7347 GB, free: 13.33 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.149e-05/0.4269, allocations: 22.77 kB / 0.7347 GB, free: 13.31 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.4269, allocations: 13.22 kB / 0.7347 GB, free: 13.31 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006412/0.4276, allocations: 460.4 kB / 0.7352 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/0.4297, allocations: 1.976 MB / 0.7371 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006755/0.4304, allocations: 451 kB / 0.7375 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002929/0.4307, allocations: 215.4 kB / 0.7377 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/0.4308, allocations: 29.02 kB / 0.7377 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004522/0.4312, allocations: 393.8 kB / 0.7381 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=54): time 1.653e-06/0.4312, allocations: 0 / 0.7381 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of matching and sorting (n=54): time 0.001431/0.4327, allocations: 0.8733 MB / 0.739 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.4327, allocations: 84.67 kB / 0.7391 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005119/0.4332, allocations: 0.647 MB / 0.7397 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.076e-05/0.4333, allocations: 35.95 kB / 0.7397 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002043/0.4335, allocations: 372.1 kB / 0.7401 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.4336, allocations: 194.3 kB / 0.7403 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.4337, allocations: 140.7 kB / 0.7404 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.477e-05/0.4338, allocations: 331.5 kB / 0.7407 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003157/0.4342, allocations: 247.2 kB / 0.741 GB, free: 9 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003383/0.4345, allocations: 329.9 kB / 0.7413 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006177/0.4351, allocations: 0.5062 MB / 0.7418 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.4351, allocations: 2.938 kB / 0.7418 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000949/0.4361, allocations: 0.8378 MB / 0.7426 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.777e-05/0.4361, allocations: 59.69 kB / 0.7426 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/0.4361, allocations: 22.33 kB / 0.7427 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002243/0.4363, allocations: 87.3 kB / 0.7427 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.4366, allocations: 128.8 kB / 0.7429 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001772/0.4384, allocations: 2.832 MB / 0.7456 GB, free: 5.004 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/0.4386, allocations: 67.34 kB / 0.7457 GB, free: 4.961 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.145e-05/0.4387, allocations: 65.66 kB / 0.7458 GB, free: 4.949 MB / 0.5886 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.0002095/0.4389, allocations: 187.1 kB / 0.7459 GB, free: 4.789 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.254e-05/0.439, allocations: 87.31 kB / 0.746 GB, free: 4.742 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.4405, allocations: 1.281 MB / 0.7473 GB, free: 4.07 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.4405, allocations: 5.656 kB / 0.7473 GB, free: 4.07 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.4405, allocations: 2.312 kB / 0.7473 GB, free: 4.07 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.4405, allocations: 6.484 kB / 0.7473 GB, free: 4.066 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.442, allocations: 1.428 MB / 0.7487 GB, free: 3.109 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.578e-05/0.442, allocations: 19.59 kB / 0.7487 GB, free: 3.098 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/0.4423, allocations: 113.5 kB / 0.7488 GB, free: 3.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001637/0.4424, allocations: 86.66 kB / 0.7489 GB, free: 3.016 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.221e-05/0.4425, allocations: 30.36 kB / 0.7489 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001411/0.4439, allocations: 2.829 MB / 0.7517 GB, free: 228 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4439, allocations: 0 / 0.7517 GB, free: 228 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.4451, allocations: 1.111 MB / 0.7528 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001801/0.4453, allocations: 155.2 kB / 0.7529 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.921e-05/0.4453, allocations: 17 kB / 0.7529 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.4456, allocations: 32.34 kB / 0.753 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.4457, allocations: 92 kB / 0.753 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.879e-05/0.4458, allocations: 62.44 kB / 0.7531 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003234/0.4461, allocations: 446.6 kB / 0.7535 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.4461, allocations: 0 / 0.7535 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005986/0.4467, allocations: 308.8 kB / 0.7538 GB, free: 15.03 MB / 0.6042 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.002067/0.4487, allocations: 1.937 MB / 0.7557 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009999/0.4497, allocations: 0.9976 MB / 0.7567 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4497, allocations: 0 / 0.7567 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000537/0.4503, allocations: 0.625 MB / 0.7573 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008771/0.4512, allocations: 312.5 kB / 0.7576 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006018/0.4572, allocations: 6.274 MB / 0.7637 GB, free: 4.797 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.4574, allocations: 357.5 kB / 0.7641 GB, free: 4.418 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007144/0.4581, allocations: 0.6745 MB / 0.7647 GB, free: 3.742 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003808/0.4585, allocations: 376.3 kB / 0.7651 GB, free: 3.375 MB / 0.6042 GB Notification: Performance of SimCode: time 7.82e-07/0.4585, allocations: 0 / 0.7651 GB, free: 3.375 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03759/0.4961, allocations: 27.24 MB / 0.7917 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.078/8.574, allocations: 4.062 kB / 0.7917 GB, free: 8.59 MB / 0.6355 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file ThermofluidStream_dev_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_dev_ThermofluidStream_Processes_Tests_TransportDelay.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 11.240598733536899] Failed to read output from testmodel.py, exit status != 0: 8.672153146006167 8.684654335 8.259932991 Calling exit ...