Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3.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.00118/0.00118, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.002259/0.002259, allocations: 170.3 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 1.191/1.191, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.9581/0.9581, allocations: 118.6 MB / 377.8 MB, free: 1.602 MB / 346.7 MB " [Timeout remaining time 178] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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.Idealized.Tests.Processes.Adiabatic.Warnings3,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Warnings3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Warnings3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.699e-06/4.699e-06, allocations: 0 / 0.5572 GB, free: 9.035 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.131e-05/5.601e-05, allocations: 2.281 kB / 0.5572 GB, free: 9.031 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3): time 0.7594/0.7594, allocations: 132.1 MB / 0.6862 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.008923/0.7684, allocations: 4.427 MB / 0.6906 GB, free: 5.598 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001954/0.7703, allocations: 46 kB / 0.6906 GB, free: 5.57 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.772, allocations: 308.6 kB / 0.6909 GB, free: 5.473 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004372/0.7763, allocations: 0.8505 MB / 0.6917 GB, free: 5.301 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002121/0.7785, allocations: 498 kB / 0.6922 GB, free: 5.23 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002518/0.781, allocations: 1.176 MB / 0.6933 GB, free: 4.902 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000757/0.7817, allocations: 98.44 kB / 0.6934 GB, free: 4.867 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002099/0.7838, allocations: 0.6663 MB / 0.6941 GB, free: 4.77 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007151/0.7845, allocations: 377.1 kB / 0.6945 GB, free: 4.723 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.7847, allocations: 47.84 kB / 0.6945 GB, free: 4.723 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002148/0.7868, allocations: 0.7139 MB / 0.6952 GB, free: 4.648 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001722/0.787, allocations: 138.3 kB / 0.6953 GB, free: 4.613 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004336/0.7874, allocations: 230.7 kB / 0.6955 GB, free: 4.578 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003847/0.7913, allocations: 1.196 MB / 0.6967 GB, free: 4.238 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.7913, allocations: 0 / 0.6967 GB, free: 4.238 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.586e-06/0.7913, allocations: 3.938 kB / 0.6967 GB, free: 4.234 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.168e-05/0.7913, allocations: 1.344 kB / 0.6967 GB, free: 4.234 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.002472/0.7938, allocations: 1.168 MB / 0.6979 GB, free: 3.457 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.7938, allocations: 9.625 kB / 0.6979 GB, free: 3.457 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.73e-05/0.7939, allocations: 89.08 kB / 0.698 GB, free: 3.387 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.7941, allocations: 96.27 kB / 0.698 GB, free: 3.336 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/0.7957, allocations: 0.5543 MB / 0.6986 GB, free: 3.008 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/0.7959, allocations: 144.2 kB / 0.6987 GB, free: 2.863 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.124e-05/0.796, allocations: 42.88 kB / 0.6988 GB, free: 2.852 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.7971, allocations: 0.5788 MB / 0.6993 GB, free: 2.594 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.7971, allocations: 3.938 kB / 0.6993 GB, free: 2.59 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.988e-05/0.7972, allocations: 16.19 kB / 0.6993 GB, free: 2.578 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.275e-05/0.7972, allocations: 10.28 kB / 0.6994 GB, free: 2.578 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.7983, allocations: 0.5223 MB / 0.6999 GB, free: 2.426 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002246/0.8006, allocations: 1.348 MB / 0.7012 GB, free: 1.625 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.8017, allocations: 491.1 kB / 0.7017 GB, free: 1.441 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005838/0.8022, allocations: 226.6 kB / 0.7019 GB, free: 1.375 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000564/0.8028, allocations: 139 kB / 0.702 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005957/0.8034, allocations: 336.9 kB / 0.7023 GB, free: 1.152 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=47): time 8.747e-06/0.8034, allocations: 0 / 0.7023 GB, free: 1.152 MB / 0.5573 GB Notification: Performance of matching and sorting (n=48): time 0.004567/0.808, allocations: 1.813 MB / 0.7041 GB, free: 144 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.808, allocations: 66.8 kB / 0.7042 GB, free: 72 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008906/0.8089, allocations: 0.5898 MB / 0.7047 GB, free: 15.73 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 7.449e-05/0.809, allocations: 39.64 kB / 0.7048 GB, free: 15.69 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004152/0.8094, allocations: 323 kB / 0.7051 GB, free: 15.4 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/0.8096, allocations: 162 kB / 0.7052 GB, free: 15.27 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.8098, allocations: 92.59 kB / 0.7053 GB, free: 15.2 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.8099, allocations: 324.7 kB / 0.7056 GB, free: 14.88 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005933/0.8105, allocations: 282.5 kB / 0.7059 GB, free: 14.71 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005953/0.8111, allocations: 330.9 kB / 0.7062 GB, free: 14.5 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.8121, allocations: 0.5338 MB / 0.7067 GB, free: 14.18 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.8121, allocations: 1.5 kB / 0.7067 GB, free: 14.18 MB / 0.573 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001535/0.8137, allocations: 0.7777 MB / 0.7075 GB, free: 13.71 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 8.637e-05/0.8138, allocations: 58.88 kB / 0.7076 GB, free: 13.65 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.8138, allocations: 4.062 kB / 0.7076 GB, free: 13.65 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004895/0.8143, allocations: 85.95 kB / 0.7076 GB, free: 13.61 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/0.8146, allocations: 132.4 kB / 0.7078 GB, free: 13.56 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000489/0.8151, allocations: 0.5678 MB / 0.7083 GB, free: 13.01 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004415/0.8155, allocations: 60.39 kB / 0.7084 GB, free: 12.98 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-05/0.8156, allocations: 25.39 kB / 0.7084 GB, free: 12.97 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 (massFlowRate.count,$PRE.massFlowRate.count,massFlowRate.T_start,$PRE.massFlowRate.T_start,power.count,$PRE.power.count,power.T_start,$PRE.power.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004383/0.816, allocations: 178.7 kB / 0.7086 GB, free: 12.81 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.8161, allocations: 86.58 kB / 0.7087 GB, free: 12.76 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001859/0.818, allocations: 0.8387 MB / 0.7095 GB, free: 12.23 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.818, allocations: 5.75 kB / 0.7095 GB, free: 12.23 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/0.818, allocations: 0 / 0.7095 GB, free: 12.23 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.818, allocations: 3.938 kB / 0.7095 GB, free: 12.22 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006888/0.8187, allocations: 441.5 kB / 0.7099 GB, free: 11.89 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.8187, allocations: 4 kB / 0.7099 GB, free: 11.89 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000332/0.819, allocations: 101.5 kB / 0.71 GB, free: 11.86 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005836/0.8196, allocations: 71.27 kB / 0.7101 GB, free: 11.82 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.8197, allocations: 21.39 kB / 0.7101 GB, free: 11.81 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004158/0.8201, allocations: 0.5617 MB / 0.7106 GB, free: 11.26 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.8201, allocations: 0 / 0.7106 GB, free: 11.26 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.8218, allocations: 0.8781 MB / 0.7115 GB, free: 10.77 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003988/0.8222, allocations: 98.95 kB / 0.7116 GB, free: 10.7 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.895e-05/0.8223, allocations: 8.938 kB / 0.7116 GB, free: 10.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000284/0.8226, allocations: 73.62 kB / 0.7117 GB, free: 10.65 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/0.8228, allocations: 58.27 kB / 0.7117 GB, free: 10.61 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.357e-05/0.8228, allocations: 13.31 kB / 0.7117 GB, free: 10.61 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0005762/0.8234, allocations: 446.8 kB / 0.7122 GB, free: 10.36 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.8234, allocations: 0 / 0.7122 GB, free: 10.36 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001053/0.8244, allocations: 203.5 kB / 0.7124 GB, free: 10.32 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (adiabaticFilter.dp) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,power.T_start,power.count,massFlowRate.T_start,massFlowRate.count) * Number of discrete states: 2 (power.count,massFlowRate.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003111/0.8276, allocations: 1.643 MB / 0.714 GB, free: 9.223 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001723/0.8293, allocations: 0.6774 MB / 0.7146 GB, free: 8.793 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.8293, allocations: 2.875 kB / 0.7146 GB, free: 8.793 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005508/0.8298, allocations: 258.8 kB / 0.7149 GB, free: 8.68 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.8312, allocations: 338.8 kB / 0.7152 GB, free: 8.512 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.8417, allocations: 5.711 MB / 0.7208 GB, free: 4.859 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.842, allocations: 296.2 kB / 0.7211 GB, free: 4.68 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000826/0.8428, allocations: 120.8 kB / 0.7212 GB, free: 4.629 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003099/0.8431, allocations: 259.2 kB / 0.7214 GB, free: 4.418 MB / 0.573 GB Notification: Performance of SimCode: time 2.925e-06/0.8431, allocations: 3.062 kB / 0.7214 GB, free: 4.418 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06575/0.9089, allocations: 23.22 MB / 0.7441 GB, free: 4.453 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.71, allocations: 12 kB / 0.7441 GB, free: 4.441 MB / 0.5886 GB " [Timeout remaining time 648] (rm -f ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3_OMSimulator.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3_OMSimulator.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3_OMSimulator.pipe >> ../files/ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3_OMSimulator_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Warnings3_OMSimulator_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Warnings3.fmu > ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3_OMSimulator.pipe 2>&1) [Timeout 1260.0] OMSimulator failed or timed out simulating the FMU; the other simulators still get to run it (rm -f ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3_fmpy.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3_fmpy.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3_fmpy.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ThermofluidStream_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Warnings3.fmu > ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3_fmpy.pipe 2>&1) [Timeout 1260.0] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 15.581533160060644]