Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1.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.001048/0.001048, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001206/0.001206, allocations: 211.6 kB / 22.25 MB, free: 3.586 MB / 13.93 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.9774/0.9774, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.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.7171/0.7171, allocations: 154.1 MB / 466.6 MB, free: 3.297 MB / 362.7 MB " [Timeout remaining time 179] 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.Inversion.Inversion1,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Tests_Inversion_Inversion1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Inversion.Inversion1,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Tests_Inversion_Inversion1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 83.88 kB / 0.6438 GB, free: 28.34 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1412, allocations: 88.78 MB / 0.7305 GB, free: 3.367 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Inversion.Inversion1): time 0.4732/0.6144, allocations: 164.2 MB / 0.8909 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.003329/0.6178, allocations: 2.35 MB / 0.8932 GB, free: 9.645 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008435/0.6186, allocations: 35.66 kB / 0.8932 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0008714/0.6195, allocations: 296.5 kB / 0.8935 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.001837/0.6213, allocations: 0.6942 MB / 0.8942 GB, free: 9.066 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002571/0.6239, allocations: 1.028 MB / 0.8952 GB, free: 8.547 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001299/0.6252, allocations: 0.9561 MB / 0.8961 GB, free: 8.027 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/0.6254, allocations: 97.88 kB / 0.8962 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.6268, allocations: 0.6558 MB / 0.8968 GB, free: 7.57 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004583/0.6272, allocations: 347.4 kB / 0.8972 GB, free: 7.375 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 4.875e-05/0.6273, allocations: 38.41 kB / 0.8972 GB, free: 7.371 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.6287, allocations: 0.6417 MB / 0.8978 GB, free: 7.082 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003784/0.629, allocations: 99.58 kB / 0.8979 GB, free: 7 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.6292, allocations: 231 kB / 0.8982 GB, free: 6.871 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001865/0.6311, allocations: 1.058 MB / 0.8992 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.6311, allocations: 0 / 0.8992 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.635e-06/0.6311, allocations: 0 / 0.8992 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.23e-05/0.6311, allocations: 0 / 0.8992 GB, free: 6.227 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001409/0.6325, allocations: 0.9182 MB / 0.9001 GB, free: 5.508 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.6326, allocations: 8.031 kB / 0.9001 GB, free: 5.508 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.259e-05/0.6326, allocations: 75.94 kB / 0.9002 GB, free: 5.438 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002899/0.6329, allocations: 100.8 kB / 0.9003 GB, free: 5.383 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007196/0.6337, allocations: 454.6 kB / 0.9007 GB, free: 5.031 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.6337, allocations: 32.53 kB / 0.9007 GB, free: 5.016 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/0.6337, allocations: 38.72 kB / 0.9008 GB, free: 5.004 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005139/0.6342, allocations: 446.3 kB / 0.9012 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.6342, allocations: 2.719 kB / 0.9012 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.908e-05/0.6343, allocations: 14.44 kB / 0.9012 GB, free: 4.695 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.6343, allocations: 10.72 kB / 0.9012 GB, free: 4.695 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003147/0.6346, allocations: 254.4 kB / 0.9015 GB, free: 4.582 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.6363, allocations: 1.356 MB / 0.9028 GB, free: 3.496 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.6366, allocations: 176.1 kB / 0.9029 GB, free: 3.402 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.993e-05/0.6367, allocations: 58.94 kB / 0.903 GB, free: 3.367 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.927e-05/0.6368, allocations: 16.28 kB / 0.903 GB, free: 3.359 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.6368, allocations: 45.31 kB / 0.9031 GB, free: 3.309 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 3.015e-06/0.6368, allocations: 0 / 0.9031 GB, free: 3.309 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0005805/0.6374, allocations: 296.5 kB / 0.9033 GB, free: 3.16 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.6374, allocations: 79.73 kB / 0.9034 GB, free: 3.066 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003792/0.6378, allocations: 0.4914 MB / 0.9039 GB, free: 2.766 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.6378, allocations: 32.23 kB / 0.9039 GB, free: 2.73 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.638, allocations: 314.9 kB / 0.9042 GB, free: 2.453 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.638, allocations: 56.62 kB / 0.9043 GB, free: 2.402 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.417e-05/0.6381, allocations: 73.95 kB / 0.9044 GB, free: 2.355 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.6382, allocations: 368.2 kB / 0.9047 GB, free: 2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.102e-05/0.6383, allocations: 59.72 kB / 0.9048 GB, free: 1.973 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.6384, allocations: 118.3 kB / 0.9049 GB, free: 1.879 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.6386, allocations: 177.5 kB / 0.905 GB, free: 1.754 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.6386, allocations: 4 kB / 0.905 GB, free: 1.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003919/0.639, allocations: 308.7 kB / 0.9053 GB, free: 1.59 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.639, allocations: 5.344 kB / 0.9053 GB, free: 1.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.639, allocations: 2.812 kB / 0.9054 GB, free: 1.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001526/0.6392, allocations: 46.44 kB / 0.9054 GB, free: 1.562 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.6394, allocations: 97.08 kB / 0.9055 GB, free: 1.543 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/0.6418, allocations: 3.211 MB / 0.9086 GB, free: 14.26 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.6419, allocations: 27.98 kB / 0.9087 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/0.642, allocations: 40.89 kB / 0.9087 GB, free: 14.23 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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.0001758/0.6422, allocations: 155.2 kB / 0.9088 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.517e-05/0.6422, allocations: 54.98 kB / 0.9089 GB, free: 14.06 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007391/0.643, allocations: 0.628 MB / 0.9095 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.643, allocations: 2.594 kB / 0.9095 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.643, allocations: 0 / 0.9095 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.643, allocations: 3.984 kB / 0.9095 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008573/0.6438, allocations: 0.7863 MB / 0.9103 GB, free: 13.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.6438, allocations: 3.281 kB / 0.9103 GB, free: 13.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.644, allocations: 75.58 kB / 0.9104 GB, free: 13.08 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.816e-05/0.6441, allocations: 44.14 kB / 0.9104 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.6441, allocations: 7.406 kB / 0.9104 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/0.6455, allocations: 3.206 MB / 0.9135 GB, free: 9.777 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6455, allocations: 2.656 kB / 0.9135 GB, free: 9.777 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003288/0.6459, allocations: 419.8 kB / 0.9139 GB, free: 9.445 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.646, allocations: 62.58 kB / 0.914 GB, free: 9.402 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.646, allocations: 10.59 kB / 0.914 GB, free: 9.395 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.6461, allocations: 2.719 kB / 0.914 GB, free: 9.395 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.228e-05/0.6462, allocations: 33.22 kB / 0.914 GB, free: 9.375 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/0.6462, allocations: 21.56 kB / 0.9141 GB, free: 9.375 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002964/0.6465, allocations: 363.8 kB / 0.9144 GB, free: 9.16 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8e-08/0.6465, allocations: 2.969 kB / 0.9144 GB, free: 9.16 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006378/0.6471, allocations: 167.9 kB / 0.9146 GB, free: 9.121 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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.0008572/0.648, allocations: 1.122 MB / 0.9157 GB, free: 8.18 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005465/0.6485, allocations: 313.1 kB / 0.916 GB, free: 7.988 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6485, allocations: 0 / 0.916 GB, free: 7.988 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005104/0.6491, allocations: 224.8 kB / 0.9162 GB, free: 7.832 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007076/0.6498, allocations: 214.5 kB / 0.9164 GB, free: 7.727 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003481/0.6532, allocations: 3.809 MB / 0.9201 GB, free: 5.098 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001675/0.6534, allocations: 241.2 kB / 0.9203 GB, free: 4.938 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004844/0.6539, allocations: 383.1 kB / 0.9207 GB, free: 4.754 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/0.6541, allocations: 244.4 kB / 0.9209 GB, free: 4.566 MB / 0.6667 GB Notification: Performance of SimCode: time 9.32e-07/0.6542, allocations: 0 / 0.9209 GB, free: 4.566 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0356/0.6897, allocations: 16.33 MB / 0.9369 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.852/8.542, allocations: 0 / 0.9369 GB, free: 11.88 MB / 0.6823 GB " [Timeout remaining time 651] (rm -f ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_OMSimulator.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_OMSimulator.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_OMSimulator.pipe >> ../files/ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_OMSimulator_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Idealized_Tests_Inversion_Inversion1_OMSimulator_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Idealized_Tests_Inversion_Inversion1.fmu > ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_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.Inversion.Inversion1_fmpy.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_fmpy.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_fmpy.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_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_Inversion_Inversion1.fmu > ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.Inversion1_fmpy.pipe 2>&1) [Timeout 1260.0] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 11.51148147881031]