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.0008978/0.0008978, 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.001103/0.001103, 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 1.069/1.069, allocations: 230.6 MB / 256 MB, free: 9.609 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.8366/0.8366, allocations: 154.1 MB / 466.6 MB, free: 3.34 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.001368/0.001368, allocations: 91.86 kB / 0.6438 GB, free: 28.36 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1873, allocations: 88.78 MB / 0.7305 GB, free: 3.387 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Inversion.Inversion1): time 0.6054/0.7927, allocations: 164.3 MB / 0.8909 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.002727/0.7955, allocations: 2.343 MB / 0.8932 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002469/0.7957, allocations: 42.53 kB / 0.8932 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0007136/0.7964, allocations: 302 kB / 0.8935 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.001255/0.7977, allocations: 0.6917 MB / 0.8942 GB, free: 8.906 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001758/0.7994, allocations: 1.023 MB / 0.8952 GB, free: 8.395 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.0006604/0.8001, allocations: 0.9513 MB / 0.8961 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000217/0.8003, allocations: 104.6 kB / 0.8962 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009779/0.8013, allocations: 0.6521 MB / 0.8969 GB, free: 7.406 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003018/0.8016, allocations: 356.5 kB / 0.8972 GB, free: 7.203 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 4.047e-05/0.8016, allocations: 36.91 kB / 0.8972 GB, free: 7.203 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007647/0.8024, allocations: 0.6285 MB / 0.8978 GB, free: 6.926 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.8025, allocations: 107.4 kB / 0.8979 GB, free: 6.836 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.8027, allocations: 232.6 kB / 0.8982 GB, free: 6.707 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.0009384/0.8036, allocations: 1.058 MB / 0.8992 GB, free: 6.062 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.8036, allocations: 0 / 0.8992 GB, free: 6.062 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.225e-06/0.8036, allocations: 0 / 0.8992 GB, free: 6.062 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.8036, allocations: 0 / 0.8992 GB, free: 6.062 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.001116/0.8047, allocations: 0.9159 MB / 0.9001 GB, free: 5.344 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.8048, allocations: 10.53 kB / 0.9001 GB, free: 5.344 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.46e-05/0.8048, allocations: 79.69 kB / 0.9002 GB, free: 5.27 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002436/0.8051, allocations: 96.91 kB / 0.9003 GB, free: 5.219 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006418/0.8057, allocations: 450.9 kB / 0.9007 GB, free: 4.871 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.8058, allocations: 32.34 kB / 0.9007 GB, free: 4.855 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/0.8058, allocations: 38.84 kB / 0.9008 GB, free: 4.844 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005061/0.8063, allocations: 446 kB / 0.9012 GB, free: 4.547 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.8063, allocations: 0 / 0.9012 GB, free: 4.547 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.8063, allocations: 17 kB / 0.9012 GB, free: 4.535 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.8064, allocations: 10.47 kB / 0.9012 GB, free: 4.535 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003193/0.8067, allocations: 262.3 kB / 0.9015 GB, free: 4.414 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.8082, allocations: 1.352 MB / 0.9028 GB, free: 3.332 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.8085, allocations: 180.1 kB / 0.903 GB, free: 3.234 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.338e-05/0.8086, allocations: 58.7 kB / 0.903 GB, free: 3.199 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.537e-05/0.8087, allocations: 16.45 kB / 0.903 GB, free: 3.191 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.8087, allocations: 41.44 kB / 0.9031 GB, free: 3.145 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 1.743e-06/0.8087, allocations: 0 / 0.9031 GB, free: 3.145 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0005669/0.8093, allocations: 292.5 kB / 0.9034 GB, free: 3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.8093, allocations: 83.94 kB / 0.9034 GB, free: 2.902 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003845/0.8097, allocations: 0.4913 MB / 0.9039 GB, free: 2.602 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.8097, allocations: 31.8 kB / 0.9039 GB, free: 2.566 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.8099, allocations: 327.2 kB / 0.9043 GB, free: 2.277 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.8099, allocations: 52.69 kB / 0.9043 GB, free: 2.23 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-05/0.81, allocations: 69.89 kB / 0.9044 GB, free: 2.188 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.8101, allocations: 363.9 kB / 0.9047 GB, free: 1.836 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.859e-05/0.8102, allocations: 57.66 kB / 0.9048 GB, free: 1.812 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.8103, allocations: 112.5 kB / 0.9049 GB, free: 1.723 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.8105, allocations: 181.5 kB / 0.9051 GB, free: 1.594 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.8105, allocations: 0 / 0.9051 GB, free: 1.594 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003655/0.8108, allocations: 316.7 kB / 0.9054 GB, free: 1.426 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.8109, allocations: 5.156 kB / 0.9054 GB, free: 1.426 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.8109, allocations: 4.609 kB / 0.9054 GB, free: 1.426 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001529/0.811, allocations: 46.94 kB / 0.9054 GB, free: 1.398 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.8112, allocations: 101.4 kB / 0.9055 GB, free: 1.375 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/0.813, allocations: 3.201 MB / 0.9086 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.855e-05/0.8131, allocations: 32.58 kB / 0.9087 GB, free: 14.08 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.387e-05/0.8132, allocations: 40.22 kB / 0.9087 GB, free: 14.07 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.000171/0.8134, allocations: 159.2 kB / 0.9089 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.822e-05/0.8134, allocations: 55.52 kB / 0.9089 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007625/0.8142, allocations: 0.6204 MB / 0.9095 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.8142, allocations: 2.844 kB / 0.9095 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.8142, allocations: 0 / 0.9095 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.8142, allocations: 0 / 0.9095 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008427/0.815, allocations: 0.7896 MB / 0.9103 GB, free: 12.94 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.815, allocations: 4.344 kB / 0.9103 GB, free: 12.94 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.8152, allocations: 68.09 kB / 0.9104 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001045/0.8153, allocations: 43.44 kB / 0.9104 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.8153, allocations: 15.81 kB / 0.9104 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001549/0.8169, allocations: 3.205 MB / 0.9135 GB, free: 9.617 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.8169, allocations: 3.062 kB / 0.9135 GB, free: 9.617 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003322/0.8172, allocations: 427.8 kB / 0.914 GB, free: 9.277 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 8.244e-05/0.8173, allocations: 61.77 kB / 0.914 GB, free: 9.234 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.8173, allocations: 3.406 kB / 0.914 GB, free: 9.234 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.8174, allocations: 6.984 kB / 0.914 GB, free: 9.23 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.8174, allocations: 30.14 kB / 0.914 GB, free: 9.211 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.8175, allocations: 25.38 kB / 0.9141 GB, free: 9.207 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002799/0.8178, allocations: 358.4 kB / 0.9144 GB, free: 9 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6e-08/0.8178, allocations: 0 / 0.9144 GB, free: 9 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004278/0.8182, allocations: 172 kB / 0.9146 GB, free: 8.957 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.0007893/0.819, allocations: 1.114 MB / 0.9157 GB, free: 8.023 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005296/0.8195, allocations: 317.2 kB / 0.916 GB, free: 7.828 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.8195, allocations: 4 kB / 0.916 GB, free: 7.824 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.8197, allocations: 227 kB / 0.9162 GB, free: 7.668 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006318/0.8203, allocations: 215.8 kB / 0.9164 GB, free: 7.559 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/0.8236, allocations: 3.8 MB / 0.9201 GB, free: 4.941 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.8237, allocations: 248.4 kB / 0.9203 GB, free: 4.777 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004104/0.8241, allocations: 376.2 kB / 0.9207 GB, free: 4.598 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.8243, allocations: 248.3 kB / 0.9209 GB, free: 4.406 MB / 0.6667 GB Notification: Performance of SimCode: time 8.51e-07/0.8244, allocations: 0 / 0.9209 GB, free: 4.406 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03083/0.8552, allocations: 16.33 MB / 0.9369 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/8.919, allocations: 8.047 kB / 0.9369 GB, free: 11.93 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: 12.303927860004478]