Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion.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.001054/0.001054, 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.0009214/0.0009214, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.093/1.093, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.8248/0.8248, allocations: 118.6 MB / 377.8 MB, free: 1.59 MB / 346.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.MediumInversion,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Tests_Inversion_MediumInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Inversion.MediumInversion,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Tests_Inversion_MediumInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.5572 GB, free: 9.055 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.413e-05, allocations: 6.219 kB / 0.5572 GB, free: 9.047 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Inversion.MediumInversion): time 0.6151/0.6151, allocations: 128.5 MB / 0.6826 GB, free: 6.141 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0006998/0.6158, allocations: 371.5 kB / 0.683 GB, free: 6.109 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.6159, allocations: 1.375 kB / 0.683 GB, free: 6.109 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002741/0.6161, allocations: 29.05 kB / 0.683 GB, free: 6.102 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0006323/0.6168, allocations: 139.9 kB / 0.6831 GB, free: 6.086 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004894/0.6173, allocations: 119 kB / 0.6832 GB, free: 6.078 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002914/0.6175, allocations: 137.1 kB / 0.6834 GB, free: 6.074 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.617e-05/0.6176, allocations: 6.734 kB / 0.6834 GB, free: 6.07 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.6178, allocations: 93.83 kB / 0.6835 GB, free: 6.062 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.895e-05/0.6179, allocations: 35.45 kB / 0.6835 GB, free: 6.062 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.637e-05/0.618, allocations: 4.125 kB / 0.6835 GB, free: 6.062 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003558/0.6183, allocations: 168.8 kB / 0.6837 GB, free: 6.055 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.353e-05/0.6184, allocations: 17.7 kB / 0.6837 GB, free: 6.055 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.476e-05/0.6185, allocations: 25 kB / 0.6837 GB, free: 6.055 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005028/0.619, allocations: 223.1 kB / 0.6839 GB, free: 6.043 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.619, allocations: 1.562 kB / 0.6839 GB, free: 6.043 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.683e-06/0.619, allocations: 4 kB / 0.6839 GB, free: 6.039 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.619, allocations: 2.438 kB / 0.6839 GB, free: 6.039 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004851/0.6195, allocations: 299.8 kB / 0.6842 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 7.304e-05/0.6195, allocations: 9.938 kB / 0.6842 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.993e-05/0.6196, allocations: 39.81 kB / 0.6843 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005454/0.6201, allocations: 52.14 kB / 0.6843 GB, free: 5.719 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.6205, allocations: 125.6 kB / 0.6844 GB, free: 5.59 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.6205, allocations: 2.828 kB / 0.6844 GB, free: 5.59 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.6205, allocations: 20 kB / 0.6845 GB, free: 5.578 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.6208, allocations: 192.9 kB / 0.6846 GB, free: 5.426 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.6208, allocations: 0 / 0.6846 GB, free: 5.426 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.6208, allocations: 1.312 kB / 0.6846 GB, free: 5.426 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.6208, allocations: 1.344 kB / 0.6846 GB, free: 5.426 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.6209, allocations: 69.44 kB / 0.6847 GB, free: 5.422 MB / 0.5573 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000878/0.6218, allocations: 488.7 kB / 0.6852 GB, free: 5.016 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.6221, allocations: 80.09 kB / 0.6852 GB, free: 4.984 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.178e-05/0.6221, allocations: 33.23 kB / 0.6853 GB, free: 4.977 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.6222, allocations: 1.156 kB / 0.6853 GB, free: 4.977 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.6222, allocations: 32.78 kB / 0.6853 GB, free: 4.938 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=6): time 3.006e-06/0.6222, allocations: 0 / 0.6853 GB, free: 4.938 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6): time 0.0002923/0.6225, allocations: 103.3 kB / 0.6854 GB, free: 4.906 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.6225, allocations: 59.94 kB / 0.6855 GB, free: 4.84 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.181e-05/0.6226, allocations: 123.9 kB / 0.6856 GB, free: 4.73 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.6226, allocations: 25.7 kB / 0.6856 GB, free: 4.699 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.815e-05/0.6226, allocations: 101.1 kB / 0.6857 GB, free: 4.605 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.6226, allocations: 21.42 kB / 0.6857 GB, free: 4.59 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.6227, allocations: 28.69 kB / 0.6858 GB, free: 4.574 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.317e-05/0.6227, allocations: 317.5 kB / 0.6861 GB, free: 4.262 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.144e-05/0.6228, allocations: 24.7 kB / 0.6861 GB, free: 4.262 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.52e-05/0.6228, allocations: 66.12 kB / 0.6861 GB, free: 4.211 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.6229, allocations: 99.22 kB / 0.6862 GB, free: 4.156 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6229, allocations: 1.156 kB / 0.6862 GB, free: 4.156 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001543/0.6231, allocations: 121.8 kB / 0.6864 GB, free: 4.113 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.6231, allocations: 5.406 kB / 0.6864 GB, free: 4.113 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.6231, allocations: 2.25 kB / 0.6864 GB, free: 4.113 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.6231, allocations: 2.094 kB / 0.6864 GB, free: 4.113 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.6234, allocations: 65.52 kB / 0.6864 GB, free: 4.105 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000214/0.6236, allocations: 0.5916 MB / 0.687 GB, free: 3.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.488e-05/0.6237, allocations: 14.58 kB / 0.687 GB, free: 3.512 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.6237, allocations: 6.781 kB / 0.687 GB, free: 3.512 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.798e-05/0.6238, allocations: 120.2 kB / 0.6871 GB, free: 3.395 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/0.6238, allocations: 7.672 kB / 0.6871 GB, free: 3.391 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/0.624, allocations: 122.5 kB / 0.6873 GB, free: 3.352 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.624, allocations: 1.062 kB / 0.6873 GB, free: 3.352 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.624, allocations: 6 kB / 0.6873 GB, free: 3.348 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.624, allocations: 1.969 kB / 0.6873 GB, free: 3.348 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.6243, allocations: 167.3 kB / 0.6874 GB, free: 3.191 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.6243, allocations: 9 kB / 0.6874 GB, free: 3.184 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.6244, allocations: 58.69 kB / 0.6875 GB, free: 3.18 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.6244, allocations: 0 / 0.6875 GB, free: 3.18 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.6244, allocations: 2.406 kB / 0.6875 GB, free: 3.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002299/0.6247, allocations: 0.5864 MB / 0.6881 GB, free: 2.598 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.6247, allocations: 1.25 kB / 0.6881 GB, free: 2.598 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.6248, allocations: 193.4 kB / 0.6883 GB, free: 2.457 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.386e-05/0.6249, allocations: 8.766 kB / 0.6883 GB, free: 2.453 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.6249, allocations: 8.719 kB / 0.6883 GB, free: 2.449 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.849e-05/0.625, allocations: 2.062 kB / 0.6883 GB, free: 2.449 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.625, allocations: 5.5 kB / 0.6883 GB, free: 2.449 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.625, allocations: 11.12 kB / 0.6883 GB, free: 2.449 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.652e-05/0.625, allocations: 89.92 kB / 0.6884 GB, free: 2.375 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.625, allocations: 0 / 0.6884 GB, free: 2.375 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003935/0.6254, allocations: 36.48 kB / 0.6884 GB, free: 2.367 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004501/0.6259, allocations: 0.7477 MB / 0.6891 GB, free: 1.703 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002246/0.6261, allocations: 103.4 kB / 0.6892 GB, free: 1.695 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.6261, allocations: 0 / 0.6892 GB, free: 1.695 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.857e-05/0.6262, allocations: 52.45 kB / 0.6893 GB, free: 1.695 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.6265, allocations: 21.64 kB / 0.6893 GB, free: 1.691 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.6281, allocations: 1.465 MB / 0.6907 GB, free: 16.44 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.787e-05/0.6282, allocations: 73.02 kB / 0.6908 GB, free: 16.36 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 7.949e-05/0.6283, allocations: 17.34 kB / 0.6908 GB, free: 16.36 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.502e-05/0.6283, allocations: 23.42 kB / 0.6909 GB, free: 16.34 MB / 0.573 GB Notification: Performance of SimCode: time 8.02e-07/0.6283, allocations: 0 / 0.6909 GB, free: 16.34 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02709/0.6554, allocations: 4.145 MB / 0.6949 GB, free: 15.27 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.452/9.108, allocations: 5.891 kB / 0.6949 GB, free: 15.27 MB / 0.573 GB " [Timeout remaining time 651] (rm -f ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_OMSimulator.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_OMSimulator.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_OMSimulator.pipe >> ../files/ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_OMSimulator_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Idealized_Tests_Inversion_MediumInversion_OMSimulator_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Idealized_Tests_Inversion_MediumInversion.fmu > ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_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.MediumInversion_fmpy.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_fmpy.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_fmpy.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_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_MediumInversion.fmu > ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_fmpy.pipe 2>&1) [Timeout 1260.0] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 12.505159704000107]