Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3.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.001344/0.001344, 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.002436/0.002436, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.259/1.259, 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.9574/0.9574, allocations: 118.6 MB / 377.8 MB, free: 1.613 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.Fixed3,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Fixed3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Fixed3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 0.5572 GB, free: 9.012 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.41e-05, allocations: 2.281 kB / 0.5572 GB, free: 9.008 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3): time 0.766/0.766, allocations: 133.1 MB / 0.6872 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.008343/0.7744, allocations: 5.375 MB / 0.6925 GB, free: 5.484 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007895/0.7751, allocations: 45.38 kB / 0.6925 GB, free: 5.457 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.7764, allocations: 341.2 kB / 0.6928 GB, free: 5.355 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003191/0.7796, allocations: 1.077 MB / 0.6939 GB, free: 5.086 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.7808, allocations: 453.8 kB / 0.6943 GB, free: 5.02 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001521/0.7824, allocations: 1.151 MB / 0.6954 GB, free: 4.676 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002941/0.7826, allocations: 97.88 kB / 0.6955 GB, free: 4.641 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001248/0.7839, allocations: 0.6376 MB / 0.6962 GB, free: 4.547 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000442/0.7843, allocations: 362 kB / 0.6965 GB, free: 4.48 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 7.839e-05/0.7844, allocations: 40.5 kB / 0.6965 GB, free: 4.48 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001926/0.7863, allocations: 0.8652 MB / 0.6974 GB, free: 4.27 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.7865, allocations: 120.8 kB / 0.6975 GB, free: 4.195 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003709/0.7869, allocations: 227.4 kB / 0.6977 GB, free: 4.117 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001983/0.7889, allocations: 1.215 MB / 0.6989 GB, free: 3.758 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/0.7889, allocations: 0 / 0.6989 GB, free: 3.758 MB / 0.5573 GB Notification: Performance of FrontEnd: time 4.519e-06/0.7889, allocations: 1.188 kB / 0.6989 GB, free: 3.758 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.612e-05/0.7889, allocations: 4 kB / 0.6989 GB, free: 3.754 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001942/0.7908, allocations: 1.046 MB / 0.6999 GB, free: 3.047 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 7.367e-05/0.7909, allocations: 9.344 kB / 0.6999 GB, free: 3.047 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001059/0.791, allocations: 86.42 kB / 0.7 GB, free: 2.98 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001853/0.7912, allocations: 91 kB / 0.7001 GB, free: 2.934 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.7924, allocations: 0.5385 MB / 0.7006 GB, free: 2.613 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/0.7925, allocations: 209.2 kB / 0.7008 GB, free: 2.398 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/0.7926, allocations: 41.97 kB / 0.7009 GB, free: 2.387 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009697/0.7936, allocations: 0.5351 MB / 0.7014 GB, free: 2.129 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.7936, allocations: 0 / 0.7014 GB, free: 2.129 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/0.7936, allocations: 22.75 kB / 0.7014 GB, free: 2.109 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.7936, allocations: 13.28 kB / 0.7014 GB, free: 2.109 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006239/0.7943, allocations: 451.2 kB / 0.7019 GB, free: 1.961 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002099/0.7964, allocations: 1.506 MB / 0.7033 GB, free: 0.9805 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000856/0.7972, allocations: 320.7 kB / 0.7036 GB, free: 0.8477 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003626/0.7976, allocations: 168.6 kB / 0.7038 GB, free: 0.7852 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004515/0.798, allocations: 173.5 kB / 0.704 GB, free: 0.7148 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.7981, allocations: 38.56 kB / 0.704 GB, free: 0.6719 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=42): time 3.045e-06/0.7981, allocations: 4 kB / 0.704 GB, free: 0.668 MB / 0.5573 GB Notification: Performance of matching and sorting (n=42): time 0.001181/0.7992, allocations: 0.5464 MB / 0.7045 GB, free: 392 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.7993, allocations: 56.53 kB / 0.7046 GB, free: 328 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000702/0.8, allocations: 0.6117 MB / 0.7052 GB, free: 15.97 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.252e-05/0.8001, allocations: 36.23 kB / 0.7052 GB, free: 15.93 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002951/0.8004, allocations: 305.2 kB / 0.7055 GB, free: 15.66 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.8005, allocations: 151.4 kB / 0.7057 GB, free: 15.53 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006271/0.8011, allocations: 79.64 kB / 0.7057 GB, free: 15.48 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.8012, allocations: 324.1 kB / 0.706 GB, free: 15.16 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.8014, allocations: 108 kB / 0.7061 GB, free: 15.11 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/0.8018, allocations: 168.7 kB / 0.7063 GB, free: 15 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005683/0.8023, allocations: 290.9 kB / 0.7066 GB, free: 14.83 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.8023, allocations: 0 / 0.7066 GB, free: 14.83 MB / 0.573 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007166/0.8031, allocations: 440.2 kB / 0.707 GB, free: 14.61 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/0.8031, allocations: 9.219 kB / 0.707 GB, free: 14.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.8031, allocations: 0 / 0.707 GB, free: 14.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005584/0.8037, allocations: 80.27 kB / 0.7071 GB, free: 14.57 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.8039, allocations: 100.9 kB / 0.7072 GB, free: 14.54 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005997/0.8045, allocations: 0.5601 MB / 0.7077 GB, free: 13.99 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.8047, allocations: 56.98 kB / 0.7078 GB, free: 13.95 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-05/0.8047, allocations: 14.72 kB / 0.7078 GB, free: 13.94 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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.0001996/0.8049, allocations: 176.3 kB / 0.708 GB, free: 13.79 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.682e-05/0.805, allocations: 82.3 kB / 0.708 GB, free: 13.74 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.806, allocations: 0.6429 MB / 0.7087 GB, free: 13.27 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.8061, allocations: 4.969 kB / 0.7087 GB, free: 13.27 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/0.8061, allocations: 0.875 kB / 0.7087 GB, free: 13.27 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.8061, allocations: 7.984 kB / 0.7087 GB, free: 13.26 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.8073, allocations: 0.876 MB / 0.7095 GB, free: 12.58 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.8073, allocations: 6.656 kB / 0.7095 GB, free: 12.58 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.8075, allocations: 62.45 kB / 0.7096 GB, free: 12.56 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003495/0.8079, allocations: 76.89 kB / 0.7097 GB, free: 12.53 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.067e-05/0.8079, allocations: 13.7 kB / 0.7097 GB, free: 12.52 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004018/0.8083, allocations: 0.5639 MB / 0.7102 GB, free: 11.97 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.8083, allocations: 11.25 kB / 0.7103 GB, free: 11.96 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008098/0.8091, allocations: 0.5887 MB / 0.7108 GB, free: 11.54 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.8092, allocations: 99.11 kB / 0.7109 GB, free: 11.46 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.545e-05/0.8093, allocations: 21.42 kB / 0.7109 GB, free: 11.45 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.8095, allocations: 16.8 kB / 0.711 GB, free: 11.44 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/0.8095, allocations: 30.8 kB / 0.711 GB, free: 11.42 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.8096, allocations: 11.94 kB / 0.711 GB, free: 11.41 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004283/0.81, allocations: 479 kB / 0.7115 GB, free: 11.14 MB / 0.573 GB Notification: Performance of sort global known variables: time 9.1e-08/0.81, allocations: 0 / 0.7115 GB, free: 11.14 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0008271/0.8108, allocations: 232.4 kB / 0.7117 GB, free: 11.08 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (adiabaticFilter.dp) * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001793/0.8126, allocations: 1.407 MB / 0.7131 GB, free: 10.02 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0006001/0.8132, allocations: 281.7 kB / 0.7133 GB, free: 9.891 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8132, allocations: 2.938 kB / 0.7133 GB, free: 9.891 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.8134, allocations: 134.9 kB / 0.7135 GB, free: 9.832 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.8146, allocations: 371.2 kB / 0.7138 GB, free: 9.656 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007153/0.8218, allocations: 5.044 MB / 0.7187 GB, free: 6.383 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.822, allocations: 291.1 kB / 0.719 GB, free: 6.199 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004634/0.8225, allocations: 117.8 kB / 0.7191 GB, free: 6.152 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/0.8228, allocations: 247.3 kB / 0.7194 GB, free: 5.953 MB / 0.573 GB Notification: Performance of SimCode: time 1.913e-06/0.8228, allocations: 0 / 0.7194 GB, free: 5.953 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05021/0.873, allocations: 23.01 MB / 0.7418 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.63, allocations: 11.8 kB / 0.7418 GB, free: 7.707 MB / 0.5886 GB " [Timeout remaining time 648] (rm -f ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_OMSimulator.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_OMSimulator.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_OMSimulator.pipe >> ../files/ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_OMSimulator_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Fixed3_OMSimulator_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Fixed3.fmu > ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_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.Fixed3_fmpy.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_fmpy.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_fmpy.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_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_Fixed3.fmu > ThermofluidStream_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_fmpy.pipe 2>&1) [Timeout 1260.0] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 15.675788827240467]