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.0009253/0.0009253, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001991/0.001991, allocations: 213.2 kB / 22.25 MB, free: 3.566 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.006/1.006, 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.7431/0.7431, allocations: 154.1 MB / 466.6 MB, free: 3.332 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.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 0.001122/0.001122, allocations: 83.86 kB / 0.6438 GB, free: 28.34 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1456, allocations: 88.78 MB / 0.7305 GB, free: 3.363 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3): time 0.5174/0.663, allocations: 133.2 MB / 0.8606 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.006258/0.6693, allocations: 5.373 MB / 0.8659 GB, free: 140 kB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009782/0.6703, allocations: 54.06 kB / 0.8659 GB, free: 104 kB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.6714, allocations: 333.6 kB / 0.8662 GB, free: 0 / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003181/0.6746, allocations: 1.049 MB / 0.8673 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.6759, allocations: 448 kB / 0.8677 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.00153/0.6774, allocations: 1.111 MB / 0.8688 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002263/0.6776, allocations: 93.06 kB / 0.8689 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008144/0.6785, allocations: 499.9 kB / 0.8693 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006985/0.6791, allocations: 423.6 kB / 0.8697 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 9.505e-05/0.6792, allocations: 40.03 kB / 0.8698 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001806/0.6811, allocations: 0.8546 MB / 0.8706 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.6812, allocations: 120 kB / 0.8707 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003107/0.6815, allocations: 280.9 kB / 0.871 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002033/0.6835, allocations: 1.227 MB / 0.8722 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.6835, allocations: 5.062 kB / 0.8722 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6835, allocations: 0 / 0.8722 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.421e-05/0.6836, allocations: 0 / 0.8722 GB, free: 15.03 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001994/0.6856, allocations: 1.046 MB / 0.8732 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.6856, allocations: 8.969 kB / 0.8732 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.257e-05/0.6857, allocations: 94.95 kB / 0.8733 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.6858, allocations: 91 kB / 0.8734 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009082/0.6868, allocations: 0.5429 MB / 0.8739 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.6869, allocations: 202.8 kB / 0.8741 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.861e-05/0.687, allocations: 48.84 kB / 0.8742 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008773/0.6878, allocations: 0.5318 MB / 0.8747 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.6879, allocations: 1.344 kB / 0.8747 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.823e-05/0.6879, allocations: 19.78 kB / 0.8747 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.889e-05/0.6879, allocations: 11.97 kB / 0.8747 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007318/0.6886, allocations: 450 kB / 0.8751 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002018/0.6907, allocations: 1.501 MB / 0.8766 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006136/0.6913, allocations: 321.9 kB / 0.8769 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/0.6915, allocations: 162.5 kB / 0.8771 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001479/0.693, allocations: 0.8175 MB / 0.8779 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.693, allocations: 36.47 kB / 0.8779 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=38): time 1.783e-06/0.693, allocations: 0 / 0.8779 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=38): time 0.001188/0.6942, allocations: 0.5164 MB / 0.8784 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.6942, allocations: 55.53 kB / 0.8785 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006077/0.6949, allocations: 0.6237 MB / 0.8791 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.6949, allocations: 35.08 kB / 0.8791 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.6951, allocations: 327.1 kB / 0.8794 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.438e-05/0.6951, allocations: 133.7 kB / 0.8795 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.6953, allocations: 85.53 kB / 0.8796 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.814e-05/0.6953, allocations: 322.8 kB / 0.8799 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.6955, allocations: 102.3 kB / 0.88 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/0.6958, allocations: 189.2 kB / 0.8802 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004633/0.6963, allocations: 306.8 kB / 0.8805 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.6963, allocations: 1.562 kB / 0.8805 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007434/0.697, allocations: 437.8 kB / 0.8809 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.697, allocations: 8.031 kB / 0.8809 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.697, allocations: 2.75 kB / 0.8809 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005092/0.6976, allocations: 86.56 kB / 0.881 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.6978, allocations: 88.81 kB / 0.8811 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004464/0.6982, allocations: 0.5694 MB / 0.8817 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/0.6985, allocations: 59.98 kB / 0.8817 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-05/0.6986, allocations: 17.25 kB / 0.8817 GB, free: 10.21 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (48): * Single equations (assignments): 47 * 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.0002494/0.6988, allocations: 178.5 kB / 0.8819 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.581e-05/0.6989, allocations: 77.84 kB / 0.882 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008133/0.6997, allocations: 0.5449 MB / 0.8825 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.6997, allocations: 4.531 kB / 0.8825 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6997, allocations: 4 kB / 0.8825 GB, free: 9.715 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.6997, allocations: 4.031 kB / 0.8825 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.7008, allocations: 0.8773 MB / 0.8834 GB, free: 9.145 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.7009, allocations: 5.344 kB / 0.8834 GB, free: 9.145 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.701, allocations: 60.94 kB / 0.8834 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004495/0.7015, allocations: 81.34 kB / 0.8835 GB, free: 9.117 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.7015, allocations: 17.56 kB / 0.8835 GB, free: 9.105 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003819/0.7019, allocations: 0.5696 MB / 0.8841 GB, free: 8.562 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.7019, allocations: 5.031 kB / 0.8841 GB, free: 8.562 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007734/0.7027, allocations: 0.583 MB / 0.8847 GB, free: 8.184 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/0.7028, allocations: 98.92 kB / 0.8848 GB, free: 8.121 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.915e-05/0.7029, allocations: 16.16 kB / 0.8848 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.703, allocations: 9.719 kB / 0.8848 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.7031, allocations: 23.55 kB / 0.8848 GB, free: 8.109 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.7031, allocations: 15.12 kB / 0.8848 GB, free: 8.105 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004431/0.7036, allocations: 466.3 kB / 0.8853 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7036, allocations: 0 / 0.8853 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006082/0.7042, allocations: 217 kB / 0.8855 GB, free: 7.855 MB / 0.6511 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.001399/0.7056, allocations: 1.384 MB / 0.8868 GB, free: 6.855 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006143/0.7062, allocations: 286.2 kB / 0.8871 GB, free: 6.762 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.7062, allocations: 3.938 kB / 0.8871 GB, free: 6.758 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.7064, allocations: 133.3 kB / 0.8872 GB, free: 6.723 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.7075, allocations: 345.5 kB / 0.8876 GB, free: 6.625 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005213/0.7127, allocations: 4.995 MB / 0.8924 GB, free: 3.746 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.7129, allocations: 295.2 kB / 0.8927 GB, free: 3.559 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003903/0.7133, allocations: 122.2 kB / 0.8928 GB, free: 3.504 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.7135, allocations: 250.2 kB / 0.8931 GB, free: 3.301 MB / 0.6511 GB Notification: Performance of SimCode: time 1.222e-06/0.7135, allocations: 0 / 0.8931 GB, free: 3.301 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03957/0.753, allocations: 21.86 MB / 0.9144 GB, free: 8.199 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.337/9.09, allocations: 6.281 kB / 0.9144 GB, free: 8.199 MB / 0.6667 GB " [Timeout remaining time 651] (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: 14.33967731706798]